<!-- HTML header for doxygen 1.8.20-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
	<meta http-equiv="X-UA-Compatible" content="IE=9"/>
	<meta name="generator" content="Doxygen 1.9.4"/>
	<meta name="viewport" content="width=device-width, initial-scale=1"/>
	<title>Raspberry Pi Pico SDK: hardware_clocks</title>
	<!-- <link href="tabs.css" rel="stylesheet" type="text/css"/> -->
	<script type="text/javascript" src="jquery.js"></script>
	<script type="text/javascript" src="dynsections.js"></script>
	<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
	<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
	<link href="doxygen.css" rel="stylesheet" type="text/css" />
	<link href="normalise.css" rel="stylesheet" type="text/css"/>
<link href="main.css" rel="stylesheet" type="text/css"/>
<link href="styles.css" rel="stylesheet" type="text/css"/>
</head>
<body>
	<div class="navigation-mobile">
		<div class="logo--mobile">
			<a href="/"><img src="logo-mobile.svg" alt="Raspberry Pi"></a>
		</div>
		<div class="navigation-toggle">
			<span class="line-1"></span>
			<span class="line-2">
				<p>Menu Toggle</p>
			</span>
			<span class="line-3"></span>
		</div>
	</div>
	<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
		<div class="logo">
			<a href="index.html"> <img src="logo.svg" alt="Raspberry Pi"></a>
			<span style="display: inline-block; margin-top: 10px;">
				v2.0.0
			</span>
		</div>
		<div class="navigation-footer">
			<img src="logo-mobile.svg" alt="Raspberry Pi">
			<a href="https://www.raspberrypi.com/" target="_blank">By Raspberry Pi Ltd</a>
		</div>
<!-- 		<div class="search">
			<form>
				<input type="search" name="search" id="search" placeholder="Search">
				<input type="submit" value="Search">
			</form>
		</div> -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('group__hardware__clocks.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">hardware_clocks<div class="ingroups"><a class="el" href="group__hardware.html">Hardware APIs</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Clock Management API.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gae5b3d4a25ed3bb4916782746a6279507"><td class="memItemLeft" align="right" valign="top"><a id="gae5b3d4a25ed3bb4916782746a6279507" name="gae5b3d4a25ed3bb4916782746a6279507"></a>
typedef enum <a class="el" href="group__hardware__clocks.html#gacf8c8ac7970cacdec6c5f62a62926644">clock_num_rp2040</a>&#160;</td><td class="memItemRight" valign="bottom"><b>clock_num_t</b></td></tr>
<tr class="memdesc:gae5b3d4a25ed3bb4916782746a6279507"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock numbers on RP2040 (used as typedef <a class="el" href="group__hardware__clocks.html#ga824c11c2ae315e0b745f6dd3db936788">clock_num_t</a>) <br /></td></tr>
<tr class="separator:gae5b3d4a25ed3bb4916782746a6279507"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9191dff316e7d1c4753f6dff2a72ce77"><td class="memItemLeft" align="right" valign="top"><a id="ga9191dff316e7d1c4753f6dff2a72ce77" name="ga9191dff316e7d1c4753f6dff2a72ce77"></a>
typedef enum <a class="el" href="group__hardware__clocks.html#ga531be47022a78745db42ab7b29da20e0">clock_dest_num_rp2040</a>&#160;</td><td class="memItemRight" valign="bottom"><b>clock_dest_num_t</b></td></tr>
<tr class="memdesc:ga9191dff316e7d1c4753f6dff2a72ce77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock destination numbers on RP2040 (used as typedef <a class="el" href="group__hardware__clocks.html#ga316b881883b0533cc32883b31f8a08e3">clock_dest_num_t</a>) <br /></td></tr>
<tr class="separator:ga9191dff316e7d1c4753f6dff2a72ce77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga824c11c2ae315e0b745f6dd3db936788"><td class="memItemLeft" align="right" valign="top"><a id="ga824c11c2ae315e0b745f6dd3db936788" name="ga824c11c2ae315e0b745f6dd3db936788"></a>
typedef enum <a class="el" href="group__hardware__clocks.html#gae174e8b50eace53b7752265d166ffce6">clock_num_rp2350</a>&#160;</td><td class="memItemRight" valign="bottom"><b>clock_num_t</b></td></tr>
<tr class="memdesc:ga824c11c2ae315e0b745f6dd3db936788"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock numbers on RP2350 (used as typedef <a class="el" href="group__hardware__clocks.html#ga824c11c2ae315e0b745f6dd3db936788">clock_num_t</a>) <br /></td></tr>
<tr class="separator:ga824c11c2ae315e0b745f6dd3db936788"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga316b881883b0533cc32883b31f8a08e3"><td class="memItemLeft" align="right" valign="top"><a id="ga316b881883b0533cc32883b31f8a08e3" name="ga316b881883b0533cc32883b31f8a08e3"></a>
typedef enum <a class="el" href="group__hardware__clocks.html#ga1c6adf915fb4a4c82e5e702ebc38b5d5">clock_dest_num_rp2350</a>&#160;</td><td class="memItemRight" valign="bottom"><b>clock_dest_num_t</b></td></tr>
<tr class="memdesc:ga316b881883b0533cc32883b31f8a08e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock destination numbers on RP2350 (used as typedef <a class="el" href="group__hardware__clocks.html#ga316b881883b0533cc32883b31f8a08e3">clock_dest_num_t</a>) <br /></td></tr>
<tr class="separator:ga316b881883b0533cc32883b31f8a08e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga60fddc9bfe13c979c8e3a777d0d89037"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga60fddc9bfe13c979c8e3a777d0d89037">resus_callback_t</a>) (void)</td></tr>
<tr class="memdesc:ga60fddc9bfe13c979c8e3a777d0d89037"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resus callback function type.  <a href="group__hardware__clocks.html#ga60fddc9bfe13c979c8e3a777d0d89037">More...</a><br /></td></tr>
<tr class="separator:ga60fddc9bfe13c979c8e3a777d0d89037"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:gacf8c8ac7970cacdec6c5f62a62926644"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#gacf8c8ac7970cacdec6c5f62a62926644">clock_num_rp2040</a> { <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#ggacf8c8ac7970cacdec6c5f62a62926644a8c35a604478e413afed2b3c558df5c64">clk_gpout0</a> = 0
, <a class="el" href="group__hardware__clocks.html#ggacf8c8ac7970cacdec6c5f62a62926644aa1515365ea7f6fc7815d71ac584fcc65">clk_gpout1</a> = 1
, <a class="el" href="group__hardware__clocks.html#ggacf8c8ac7970cacdec6c5f62a62926644a913a8ae975120951e7d5c5c3df66f20f">clk_gpout2</a> = 2
, <a class="el" href="group__hardware__clocks.html#ggacf8c8ac7970cacdec6c5f62a62926644ad95941e57d81620130a1b108e0f57b51">clk_gpout3</a> = 3
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#ggacf8c8ac7970cacdec6c5f62a62926644abba6c078e66ad1a30d5b2b15b62093c4">clk_ref</a> = 4
, <a class="el" href="group__hardware__clocks.html#ggacf8c8ac7970cacdec6c5f62a62926644ac1ad7b83e348265a82c8d234489d62ab">clk_sys</a> = 5
, <a class="el" href="group__hardware__clocks.html#ggacf8c8ac7970cacdec6c5f62a62926644a917c020907b42e257410e885822f6c71">clk_peri</a> = 6
, <a class="el" href="group__hardware__clocks.html#ggacf8c8ac7970cacdec6c5f62a62926644acfa6bf0bcaef61805201373db18ed115">clk_usb</a> = 7
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#ggacf8c8ac7970cacdec6c5f62a62926644afb4bd0bf16d8916c4cb56fa77b4f0b0d">clk_adc</a> = 8
, <a class="el" href="group__hardware__clocks.html#ggacf8c8ac7970cacdec6c5f62a62926644a7af7fc21d0d48fc06d9476ebb7236e16">clk_rtc</a> = 9
, <b>CLK_COUNT</b>
<br />
 }</td></tr>
<tr class="memdesc:gacf8c8ac7970cacdec6c5f62a62926644"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock numbers on RP2040 (used as typedef <a class="el" href="group__hardware__clocks.html#ga824c11c2ae315e0b745f6dd3db936788">clock_num_t</a>)  <a href="group__hardware__clocks.html#gacf8c8ac7970cacdec6c5f62a62926644">More...</a><br /></td></tr>
<tr class="separator:gacf8c8ac7970cacdec6c5f62a62926644"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga531be47022a78745db42ab7b29da20e0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga531be47022a78745db42ab7b29da20e0">clock_dest_num_rp2040</a> { <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0aa7a13316822ebdd07cdff5d1153e5310">CLK_DEST_SYS_CLOCKS</a> = 0
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a82f9dca3d810a91d3bcb0c55bb0f4c19">CLK_DEST_ADC_ADC</a> = 1
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0adbfba27500f20882fb56f18ad253fe99">CLK_DEST_SYS_ADC</a> = 2
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a15ec1c8d5bbfc27b125f8cee2bfdd195">CLK_DEST_SYS_BUSCTRL</a> = 3
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0ab4619e35c93f6d3ced95dc46a9985111">CLK_DEST_SYS_BUSFABRIC</a> = 4
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0ab755ea73b6228c074c77af35bd685138">CLK_DEST_SYS_DMA</a> = 5
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0acea8045f9a17d3b88e6f3317de4998fa">CLK_DEST_SYS_I2C0</a> = 6
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a48d42cf1310af2059f28646feb4b3dc0">CLK_DEST_SYS_I2C1</a> = 7
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a8791146f5044f87ecad1240400524783">CLK_DEST_SYS_IO</a> = 8
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a86acc3f11f842c926a33e9041f0d7d97">CLK_DEST_SYS_JTAG</a> = 9
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a926ae7e7d7f16c9068b5771c4ab0cf31">CLK_DEST_SYS_VREG_AND_CHIP_RESET</a> = 10
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a5073bc32f089257f5ce13fcf9dccfd66">CLK_DEST_SYS_PADS</a> = 11
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a7ad1ec92e507d96db3c62458345388b3">CLK_DEST_SYS_PIO0</a> = 12
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a1b7c866f60f6d7a3599851eda6236873">CLK_DEST_SYS_PIO1</a> = 13
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0aaf028e60c1678efe0e465a5c4e63be11">CLK_DEST_SYS_PLL_SYS</a> = 14
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a271e8b16de996d59cf242f3aca93a2f4">CLK_DEST_SYS_PLL_USB</a> = 15
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a1dc3155054ea4ba3d0d93c26fdea0d4d">CLK_DEST_SYS_PSM</a> = 16
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a9efe04f57df4b458903c403addec9483">CLK_DEST_SYS_PWM</a> = 17
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0ad5cf6d4b4c6dcc60f79491e33604a9e9">CLK_DEST_SYS_RESETS</a> = 18
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0ae875abcf316976020784c41df511d47a">CLK_DEST_SYS_ROM</a> = 19
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a6ee938da9230f98365dc67ece536c0d4">CLK_DEST_SYS_ROSC</a> = 20
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a863510ab355fb0af8763acca9d54146a">CLK_DEST_RTC_RTC</a> = 21
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0af7e06e650c8533c8a09dc9bbcee9da34">CLK_DEST_SYS_RTC</a> = 22
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a1cd7587c812db4711ac8d27773fb8e14">CLK_DEST_SYS_SIO</a> = 23
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a8f3ca54d0df7350adb6490c17f01a151">CLK_DEST_PERI_SPI0</a> = 24
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0aac3c334ad4b9eb5e6b77d306f9cf6690">CLK_DEST_SYS_SPI0</a> = 25
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0ac8f3984ecd0d63da5c94bc4441d5fdbf">CLK_DEST_PERI_SPI1</a> = 26
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a7db9d6d1b85c7e8d013147af55ac254f">CLK_DEST_SYS_SPI1</a> = 27
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0aa6b672bba828f538d59cffe4bc56b870">CLK_DEST_SYS_SRAM0</a> = 28
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a5c1252a95489d26504d348a6f19e67b0">CLK_DEST_SYS_SRAM1</a> = 29
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a7ae6e07aa86527443649f572c24d1122">CLK_DEST_SYS_SRAM2</a> = 30
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0ad7e2e7aeebabc9a8f4e1a6f6da524d71">CLK_DEST_SYS_SRAM3</a> = 31
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a677f4e9d98d29174fec1004f6e23b2c2">CLK_DEST_SYS_SRAM4</a> = 32
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a7b3c35197cbab8b5ab72b48a82f32311">CLK_DEST_SYS_SRAM5</a> = 33
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a92b8a0c0a339b0f99c691fda320ff861">CLK_DEST_SYS_SYSCFG</a> = 34
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a8b535a46ba2d708945181d4cca938eac">CLK_DEST_SYS_SYSINFO</a> = 35
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a23baa826e55d0832bce75b9e2e754a57">CLK_DEST_SYS_TBMAN</a> = 36
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0aa44be434dc7d9edafd44b3a4f571a57e">CLK_DEST_SYS_TIMER</a> = 37
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a2e51b16c56acbeb6653950af41e53b76">CLK_DEST_PERI_UART0</a> = 38
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a2251766749e744153aaf4d346106b69c">CLK_DEST_SYS_UART0</a> = 39
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a67d5461d0b587344012b3e6115a97268">CLK_DEST_PERI_UART1</a> = 40
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0aaad38671055261992e9f624b24a708f7">CLK_DEST_SYS_UART1</a> = 41
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a2a29b91d850c1b0b6dd1610d8b2f361a">CLK_DEST_SYS_USBCTRL</a> = 42
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0acc49f83fc860608938bf4aeb146f8076">CLK_DEST_USB_USBCTRL</a> = 43
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a6924053ca1ffe2b13ae349b720d61444">CLK_DEST_SYS_WATCHDOG</a> = 44
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0a55ccc9b0512b87373e0ebed3bc0a3675">CLK_DEST_SYS_XIP</a> = 45
, <a class="el" href="group__hardware__clocks.html#gga531be47022a78745db42ab7b29da20e0afc877f622f554735e90baea698edaf8a">CLK_DEST_SYS_XOSC</a> = 46
, <b>NUM_CLOCK_DESTINATIONS</b>
<br />
 }</td></tr>
<tr class="memdesc:ga531be47022a78745db42ab7b29da20e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock destination numbers on RP2040 (used as typedef <a class="el" href="group__hardware__clocks.html#ga316b881883b0533cc32883b31f8a08e3">clock_dest_num_t</a>)  <a href="group__hardware__clocks.html#ga531be47022a78745db42ab7b29da20e0">More...</a><br /></td></tr>
<tr class="separator:ga531be47022a78745db42ab7b29da20e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae174e8b50eace53b7752265d166ffce6"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#gae174e8b50eace53b7752265d166ffce6">clock_num_rp2350</a> { <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#ggae174e8b50eace53b7752265d166ffce6a8c35a604478e413afed2b3c558df5c64">clk_gpout0</a> = 0
, <a class="el" href="group__hardware__clocks.html#ggae174e8b50eace53b7752265d166ffce6aa1515365ea7f6fc7815d71ac584fcc65">clk_gpout1</a> = 1
, <a class="el" href="group__hardware__clocks.html#ggae174e8b50eace53b7752265d166ffce6a913a8ae975120951e7d5c5c3df66f20f">clk_gpout2</a> = 2
, <a class="el" href="group__hardware__clocks.html#ggae174e8b50eace53b7752265d166ffce6ad95941e57d81620130a1b108e0f57b51">clk_gpout3</a> = 3
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#ggae174e8b50eace53b7752265d166ffce6abba6c078e66ad1a30d5b2b15b62093c4">clk_ref</a> = 4
, <a class="el" href="group__hardware__clocks.html#ggae174e8b50eace53b7752265d166ffce6ac1ad7b83e348265a82c8d234489d62ab">clk_sys</a> = 5
, <a class="el" href="group__hardware__clocks.html#ggae174e8b50eace53b7752265d166ffce6a917c020907b42e257410e885822f6c71">clk_peri</a> = 6
, <a class="el" href="group__hardware__clocks.html#ggae174e8b50eace53b7752265d166ffce6a6e7b08899a2da06fa900bf195e7193c5">clk_hstx</a> = 7
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#ggae174e8b50eace53b7752265d166ffce6acfa6bf0bcaef61805201373db18ed115">clk_usb</a> = 8
, <a class="el" href="group__hardware__clocks.html#ggae174e8b50eace53b7752265d166ffce6afb4bd0bf16d8916c4cb56fa77b4f0b0d">clk_adc</a> = 9
, <b>CLK_COUNT</b>
<br />
 }</td></tr>
<tr class="memdesc:gae174e8b50eace53b7752265d166ffce6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock numbers on RP2350 (used as typedef <a class="el" href="group__hardware__clocks.html#ga824c11c2ae315e0b745f6dd3db936788">clock_num_t</a>)  <a href="group__hardware__clocks.html#gae174e8b50eace53b7752265d166ffce6">More...</a><br /></td></tr>
<tr class="separator:gae174e8b50eace53b7752265d166ffce6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1c6adf915fb4a4c82e5e702ebc38b5d5"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga1c6adf915fb4a4c82e5e702ebc38b5d5">clock_dest_num_rp2350</a> { <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5aa7a13316822ebdd07cdff5d1153e5310">CLK_DEST_SYS_CLOCKS</a> = 0
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a38f611f6e4e267ed77a821452c80bdca">CLK_DEST_SYS_ACCESSCTRL</a> = 1
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a8fe55c6dbc7dc72e0e9e46210769cc22">CLK_DEST_ADC</a> = 2
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5adbfba27500f20882fb56f18ad253fe99">CLK_DEST_SYS_ADC</a> = 3
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5ae0542ef5fa70b55e10f4c61ca35bf4fe">CLK_DEST_SYS_BOOTRAM</a> = 4
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a15ec1c8d5bbfc27b125f8cee2bfdd195">CLK_DEST_SYS_BUSCTRL</a> = 5
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5ab4619e35c93f6d3ced95dc46a9985111">CLK_DEST_SYS_BUSFABRIC</a> = 6
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5ab755ea73b6228c074c77af35bd685138">CLK_DEST_SYS_DMA</a> = 7
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5ac5b88dcc7c4bf5dd08fbcb5a61f254ea">CLK_DEST_SYS_GLITCH_DETECTOR</a> = 8
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a5562093c17670895f1dbc52469f07bd2">CLK_DEST_HSTX</a> = 9
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5afee73393c34c44c30df6cd610a579d54">CLK_DEST_SYS_HSTX</a> = 10
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5acea8045f9a17d3b88e6f3317de4998fa">CLK_DEST_SYS_I2C0</a> = 11
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a48d42cf1310af2059f28646feb4b3dc0">CLK_DEST_SYS_I2C1</a> = 12
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a8791146f5044f87ecad1240400524783">CLK_DEST_SYS_IO</a> = 13
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a86acc3f11f842c926a33e9041f0d7d97">CLK_DEST_SYS_JTAG</a> = 14
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a538a61bfced3e933cddc0391f5360ffc">CLK_DEST_REF_OTP</a> = 15
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5ae6c65bc827f2b0854e30bfa2d922fbda">CLK_DEST_SYS_OTP</a> = 16
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a5073bc32f089257f5ce13fcf9dccfd66">CLK_DEST_SYS_PADS</a> = 17
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a7ad1ec92e507d96db3c62458345388b3">CLK_DEST_SYS_PIO0</a> = 18
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a1b7c866f60f6d7a3599851eda6236873">CLK_DEST_SYS_PIO1</a> = 19
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a73e94eec50a0d7d9e65dba9347390554">CLK_DEST_SYS_PIO2</a> = 20
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5aaf028e60c1678efe0e465a5c4e63be11">CLK_DEST_SYS_PLL_SYS</a> = 21
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a271e8b16de996d59cf242f3aca93a2f4">CLK_DEST_SYS_PLL_USB</a> = 22
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a1344c68dad37ca6d787453f19d0cbfbb">CLK_DEST_REF_POWMAN</a> = 23
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a8cce4f58134a4027e29097cb39ccde64">CLK_DEST_SYS_POWMAN</a> = 24
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a9efe04f57df4b458903c403addec9483">CLK_DEST_SYS_PWM</a> = 25
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5ad5cf6d4b4c6dcc60f79491e33604a9e9">CLK_DEST_SYS_RESETS</a> = 26
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5ae875abcf316976020784c41df511d47a">CLK_DEST_SYS_ROM</a> = 27
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a6ee938da9230f98365dc67ece536c0d4">CLK_DEST_SYS_ROSC</a> = 28
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a1dc3155054ea4ba3d0d93c26fdea0d4d">CLK_DEST_SYS_PSM</a> = 29
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a23f702940b3e822a8ef2f916de5f3ca4">CLK_DEST_SYS_SHA256</a> = 30
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a1cd7587c812db4711ac8d27773fb8e14">CLK_DEST_SYS_SIO</a> = 31
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a8f3ca54d0df7350adb6490c17f01a151">CLK_DEST_PERI_SPI0</a> = 32
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5aac3c334ad4b9eb5e6b77d306f9cf6690">CLK_DEST_SYS_SPI0</a> = 33
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5ac8f3984ecd0d63da5c94bc4441d5fdbf">CLK_DEST_PERI_SPI1</a> = 34
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a7db9d6d1b85c7e8d013147af55ac254f">CLK_DEST_SYS_SPI1</a> = 35
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5aa6b672bba828f538d59cffe4bc56b870">CLK_DEST_SYS_SRAM0</a> = 36
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a5c1252a95489d26504d348a6f19e67b0">CLK_DEST_SYS_SRAM1</a> = 37
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a7ae6e07aa86527443649f572c24d1122">CLK_DEST_SYS_SRAM2</a> = 38
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5ad7e2e7aeebabc9a8f4e1a6f6da524d71">CLK_DEST_SYS_SRAM3</a> = 39
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a677f4e9d98d29174fec1004f6e23b2c2">CLK_DEST_SYS_SRAM4</a> = 40
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a7b3c35197cbab8b5ab72b48a82f32311">CLK_DEST_SYS_SRAM5</a> = 41
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5ab2b65f63a864ac8a45bfe110a11db6db">CLK_DEST_SYS_SRAM6</a> = 42
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a50404f44d65aded4e71e207deb5964bc">CLK_DEST_SYS_SRAM7</a> = 43
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a0c84120ed56e95c3340d4df7b5e96fc0">CLK_DEST_SYS_SRAM8</a> = 44
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a2482a2989d3bdbc92042bed83e5f5ef1">CLK_DEST_SYS_SRAM9</a> = 45
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a92b8a0c0a339b0f99c691fda320ff861">CLK_DEST_SYS_SYSCFG</a> = 46
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a8b535a46ba2d708945181d4cca938eac">CLK_DEST_SYS_SYSINFO</a> = 47
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a23baa826e55d0832bce75b9e2e754a57">CLK_DEST_SYS_TBMAN</a> = 48
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a1e9aabaf8df6e58768de88de50ffacca">CLK_DEST_REF_TICKS</a> = 49
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5aa207bbfebc0f0f783815c678cd1dbf61">CLK_DEST_SYS_TICKS</a> = 50
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a97deb8908aaf8dd9cd2e288dfb280af1">CLK_DEST_SYS_TIMER0</a> = 51
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a7fecfce9098d7b9f712ff08dd428b900">CLK_DEST_SYS_TIMER1</a> = 52
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a81a6652dbbb538c5fe6bac61c01cc7a8">CLK_DEST_SYS_TRNG</a> = 53
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a2e51b16c56acbeb6653950af41e53b76">CLK_DEST_PERI_UART0</a> = 54
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a2251766749e744153aaf4d346106b69c">CLK_DEST_SYS_UART0</a> = 55
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a67d5461d0b587344012b3e6115a97268">CLK_DEST_PERI_UART1</a> = 56
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5aaad38671055261992e9f624b24a708f7">CLK_DEST_SYS_UART1</a> = 57
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a2a29b91d850c1b0b6dd1610d8b2f361a">CLK_DEST_SYS_USBCTRL</a> = 58
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5ac1d7d20e0075d82b36b5796b38bc66ce">CLK_DEST_USB</a> = 59
, <br />
&#160;&#160;<a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a6924053ca1ffe2b13ae349b720d61444">CLK_DEST_SYS_WATCHDOG</a> = 60
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5a55ccc9b0512b87373e0ebed3bc0a3675">CLK_DEST_SYS_XIP</a> = 61
, <a class="el" href="group__hardware__clocks.html#gga1c6adf915fb4a4c82e5e702ebc38b5d5afc877f622f554735e90baea698edaf8a">CLK_DEST_SYS_XOSC</a> = 62
, <b>NUM_CLOCK_DESTINATIONS</b>
<br />
 }</td></tr>
<tr class="memdesc:ga1c6adf915fb4a4c82e5e702ebc38b5d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock destination numbers on RP2350 (used as typedef <a class="el" href="group__hardware__clocks.html#ga316b881883b0533cc32883b31f8a08e3">clock_dest_num_t</a>)  <a href="group__hardware__clocks.html#ga1c6adf915fb4a4c82e5e702ebc38b5d5">More...</a><br /></td></tr>
<tr class="separator:ga1c6adf915fb4a4c82e5e702ebc38b5d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga4da87f338212a24bbebce4dd570b81bb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga4da87f338212a24bbebce4dd570b81bb">clock_configure</a> (clock_handle_t clock, uint32_t src, uint32_t auxsrc, uint32_t src_freq, uint32_t freq)</td></tr>
<tr class="memdesc:ga4da87f338212a24bbebce4dd570b81bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure the specified clock.  <a href="group__hardware__clocks.html#ga4da87f338212a24bbebce4dd570b81bb">More...</a><br /></td></tr>
<tr class="separator:ga4da87f338212a24bbebce4dd570b81bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6b3cc59b3628108d77b2b1b548ec8053"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga6b3cc59b3628108d77b2b1b548ec8053">clock_configure_undivided</a> (clock_handle_t clock, uint32_t src, uint32_t auxsrc, uint32_t src_freq)</td></tr>
<tr class="memdesc:ga6b3cc59b3628108d77b2b1b548ec8053"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure the specified clock to use the undividded input source.  <a href="group__hardware__clocks.html#ga6b3cc59b3628108d77b2b1b548ec8053">More...</a><br /></td></tr>
<tr class="separator:ga6b3cc59b3628108d77b2b1b548ec8053"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga097a126a24cec137d4cc6c01a388f8a5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga097a126a24cec137d4cc6c01a388f8a5">clock_configure_int_divider</a> (clock_handle_t clock, uint32_t src, uint32_t auxsrc, uint32_t src_freq, uint32_t int_divider)</td></tr>
<tr class="memdesc:ga097a126a24cec137d4cc6c01a388f8a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure the specified clock to use the undividded input source.  <a href="group__hardware__clocks.html#ga097a126a24cec137d4cc6c01a388f8a5">More...</a><br /></td></tr>
<tr class="separator:ga097a126a24cec137d4cc6c01a388f8a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga33862124558abcae451a0607df8d19bc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga33862124558abcae451a0607df8d19bc">clock_stop</a> (clock_handle_t clock)</td></tr>
<tr class="memdesc:ga33862124558abcae451a0607df8d19bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stop the specified clock.  <a href="group__hardware__clocks.html#ga33862124558abcae451a0607df8d19bc">More...</a><br /></td></tr>
<tr class="separator:ga33862124558abcae451a0607df8d19bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa2e43d722ca3375f53cb65513275a625"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#gaa2e43d722ca3375f53cb65513275a625">clock_get_hz</a> (clock_handle_t clock)</td></tr>
<tr class="memdesc:gaa2e43d722ca3375f53cb65513275a625"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current frequency of the specified clock.  <a href="group__hardware__clocks.html#gaa2e43d722ca3375f53cb65513275a625">More...</a><br /></td></tr>
<tr class="separator:gaa2e43d722ca3375f53cb65513275a625"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeb4a4f07e66523304837a6498276dd53"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#gaeb4a4f07e66523304837a6498276dd53">frequency_count_khz</a> (uint src)</td></tr>
<tr class="memdesc:gaeb4a4f07e66523304837a6498276dd53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Measure a clocks frequency using the Frequency counter.  <a href="group__hardware__clocks.html#gaeb4a4f07e66523304837a6498276dd53">More...</a><br /></td></tr>
<tr class="separator:gaeb4a4f07e66523304837a6498276dd53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9a8d16dd4e2afa2dbb6fc3d884c2269c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga9a8d16dd4e2afa2dbb6fc3d884c2269c">clock_set_reported_hz</a> (clock_handle_t clock, uint hz)</td></tr>
<tr class="memdesc:ga9a8d16dd4e2afa2dbb6fc3d884c2269c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the "current frequency" of the clock as reported by clock_get_hz without actually changing the clock.  <a href="group__hardware__clocks.html#ga9a8d16dd4e2afa2dbb6fc3d884c2269c">More...</a><br /></td></tr>
<tr class="separator:ga9a8d16dd4e2afa2dbb6fc3d884c2269c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga614700afaa5ee6767ef2cf662e63f84c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga614700afaa5ee6767ef2cf662e63f84c">clocks_enable_resus</a> (<a class="el" href="group__hardware__clocks.html#ga60fddc9bfe13c979c8e3a777d0d89037">resus_callback_t</a> resus_callback)</td></tr>
<tr class="memdesc:ga614700afaa5ee6767ef2cf662e63f84c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the resus function. Restarts clk_sys if it is accidentally stopped.  <a href="group__hardware__clocks.html#ga614700afaa5ee6767ef2cf662e63f84c">More...</a><br /></td></tr>
<tr class="separator:ga614700afaa5ee6767ef2cf662e63f84c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaec0218c0c355e0691b2005b34caecd3c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#gaec0218c0c355e0691b2005b34caecd3c">clock_gpio_init_int_frac</a> (uint gpio, uint src, uint32_t div_int, uint8_t div_frac)</td></tr>
<tr class="memdesc:gaec0218c0c355e0691b2005b34caecd3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Output an optionally divided clock to the specified gpio pin.  <a href="group__hardware__clocks.html#gaec0218c0c355e0691b2005b34caecd3c">More...</a><br /></td></tr>
<tr class="separator:gaec0218c0c355e0691b2005b34caecd3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga76d69b8d84158f8c2e99ae84b82ca0a1"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga76d69b8d84158f8c2e99ae84b82ca0a1">clock_gpio_init</a> (uint gpio, uint src, float div)</td></tr>
<tr class="memdesc:ga76d69b8d84158f8c2e99ae84b82ca0a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Output an optionally divided clock to the specified gpio pin.  <a href="group__hardware__clocks.html#ga76d69b8d84158f8c2e99ae84b82ca0a1">More...</a><br /></td></tr>
<tr class="separator:ga76d69b8d84158f8c2e99ae84b82ca0a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae15228c0d8298d19d883a453334a4d40"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#gae15228c0d8298d19d883a453334a4d40">clock_configure_gpin</a> (clock_handle_t clock, uint gpio, uint32_t src_freq, uint32_t freq)</td></tr>
<tr class="memdesc:gae15228c0d8298d19d883a453334a4d40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure a clock to come from a gpio input.  <a href="group__hardware__clocks.html#gae15228c0d8298d19d883a453334a4d40">More...</a><br /></td></tr>
<tr class="separator:gae15228c0d8298d19d883a453334a4d40"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p >Clock Management API. </p>
<p >This API provides a high level interface to the clock functions.</p>
<p >The clocks block provides independent clocks to on-chip and external components. It takes inputs from a variety of clock sources allowing the user to trade off performance against cost, board area and power consumption. From these sources it uses multiple clock generators to provide the required clocks. This architecture allows the user flexibility to start and stop clocks independently and to vary some clock frequencies whilst maintaining others at their optimum frequencies</p>
<p >Please refer to the appropriate datasheet for more details on the RP-series clocks.</p>
<p >The clock source depends on which clock you are attempting to configure. The first table below shows main clock sources. If you are not setting the Reference clock or the System clock, or you are specifying that one of those two will be using an auxiliary clock source, then you will need to use one of the entries from the subsequent tables.</p>
<ul>
<li>On RP2040 the clock sources are:</li>
</ul>
<p ><b>Main Clock Sources</b></p>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">Source   </th><th class="markdownTableHeadNone">Reference Clock   </th><th class="markdownTableHeadNone">System Clock    </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">ROSC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_REF_CTRL_SRC_VALUE_ROSC_CLKSRC_PH   </td><td class="markdownTableBodyNone"></td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">Auxiliary   </td><td class="markdownTableBodyNone">CLOCKS_CLK_REF_CTRL_SRC_VALUE_CLKSRC_CLK_REF_AUX   </td><td class="markdownTableBodyNone">CLOCKS_CLK_SYS_CTRL_SRC_VALUE_CLKSRC_CLK_SYS_AUX    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">XOSC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_REF_CTRL_SRC_VALUE_XOSC_CLKSRC   </td><td class="markdownTableBodyNone"></td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">Reference   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone">CLOCKS_CLK_SYS_CTRL_SRC_VALUE_CLK_REF   </td></tr>
</table>
<p ><b>Auxiliary Clock Sources</b></p>
<p >The auxiliary clock sources available for use in the configure function depend on which clock is being configured. The following table describes the available values that can be used. Note that for clk_gpout[x], x can be 0-3.</p>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">Aux Source   </th><th class="markdownTableHeadNone">clk_gpout[x]   </th><th class="markdownTableHeadNone">clk_ref   </th><th class="markdownTableHeadNone">clk_sys    </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">System PLL   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLKSRC_PLL_SYS   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone">CLOCKS_CLK_SYS_CTRL_AUXSRC_VALUE_CLKSRC_PLL_SYS    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">GPIO in 0   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLKSRC_GPIN0   </td><td class="markdownTableBodyNone">CLOCKS_CLK_REF_CTRL_AUXSRC_VALUE_CLKSRC_GPIN0   </td><td class="markdownTableBodyNone">CLOCKS_CLK_SYS_CTRL_AUXSRC_VALUE_CLKSRC_GPIN0    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">GPIO in 1   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1   </td><td class="markdownTableBodyNone">CLOCKS_CLK_REF_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1   </td><td class="markdownTableBodyNone">CLOCKS_CLK_SYS_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">USB PLL   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLKSRC_PLL_USB   </td><td class="markdownTableBodyNone">CLOCKS_CLK_REF_CTRL_AUXSRC_VALUE_CLKSRC_PLL_USB   </td><td class="markdownTableBodyNone">CLOCKS_CLK_SYS_CTRL_AUXSRC_VALUE_CLKSRC_PLL_USB    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">ROSC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_ROSC_CLKSRC   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone">CLOCKS_CLK_SYS_CTRL_AUXSRC_VALUE_ROSC_CLKSRC    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">XOSC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_XOSC_CLKSRC   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone">CLOCKS_CLK_SYS_CTRL_AUXSRC_VALUE_XOSC_CLKSRC    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">System clock   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLK_SYS   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone"></td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">USB Clock   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLK_USB   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone"></td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">ADC clock   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLK_ADC   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone"></td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">RTC Clock   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLK_RTC   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone"></td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">Ref clock   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLK_REF   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone"></td></tr>
</table>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">Aux Source   </th><th class="markdownTableHeadNone">clk_peri   </th><th class="markdownTableHeadNone">clk_usb   </th><th class="markdownTableHeadNone">clk_adc    </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">System PLL   </td><td class="markdownTableBodyNone">CLOCKS_CLK_PERI_CTRL_AUXSRC_VALUE_CLKSRC_PLL_SYS   </td><td class="markdownTableBodyNone">CLOCKS_CLK_USB_CTRL_AUXSRC_VALUE_CLKSRC_PLL_SYS   </td><td class="markdownTableBodyNone">CLOCKS_CLK_ADC_CTRL_AUXSRC_VALUE_CLKSRC_PLL_SYS    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">GPIO in 0   </td><td class="markdownTableBodyNone">CLOCKS_CLK_PERI_CTRL_AUXSRC_VALUE_CLKSRC_GPIN0   </td><td class="markdownTableBodyNone">CLOCKS_CLK_USB_CTRL_AUXSRC_VALUE_CLKSRC_GPIN0   </td><td class="markdownTableBodyNone">CLOCKS_CLK_ADC_CTRL_AUXSRC_VALUE_CLKSRC_GPIN0    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">GPIO in 1   </td><td class="markdownTableBodyNone">CLOCKS_CLK_PERI_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1   </td><td class="markdownTableBodyNone">CLOCKS_CLK_USB_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1   </td><td class="markdownTableBodyNone">CLOCKS_CLK_ADC_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">USB PLL   </td><td class="markdownTableBodyNone">CLOCKS_CLK_PERI_CTRL_AUXSRC_VALUE_CLKSRC_PLL_USB   </td><td class="markdownTableBodyNone">CLOCKS_CLK_USB_CTRL_AUXSRC_VALUE_CLKSRC_PLL_USB   </td><td class="markdownTableBodyNone">CLOCKS_CLK_ADC_CTRL_AUXSRC_VALUE_CLKSRC_PLL_USB    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">ROSC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_PERI_CTRL_AUXSRC_VALUE_ROSC_CLKSRC_PH   </td><td class="markdownTableBodyNone">CLOCKS_CLK_USB_CTRL_AUXSRC_VALUE_ROSC_CLKSRC_PH   </td><td class="markdownTableBodyNone">CLOCKS_CLK_ADC_CTRL_AUXSRC_VALUE_ROSC_CLKSRC_PH    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">XOSC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_PERI_CTRL_AUXSRC_VALUE_XOSC_CLKSRC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_USB_CTRL_AUXSRC_VALUE_XOSC_CLKSRC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_ADC_CTRL_AUXSRC_VALUE_XOSC_CLKSRC    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">System clock   </td><td class="markdownTableBodyNone">CLOCKS_CLK_PERI_CTRL_AUXSRC_VALUE_CLK_SYS   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone"></td></tr>
</table>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">Aux Source   </th><th class="markdownTableHeadNone">clk_rtc    </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">System PLL   </td><td class="markdownTableBodyNone">CLOCKS_CLK_RTC_CTRL_AUXSRC_VALUE_CLKSRC_PLL_SYS    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">GPIO in 0   </td><td class="markdownTableBodyNone">CLOCKS_CLK_RTC_CTRL_AUXSRC_VALUE_CLKSRC_GPIN0    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">GPIO in 1   </td><td class="markdownTableBodyNone">CLOCKS_CLK_RTC_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">USB PLL   </td><td class="markdownTableBodyNone">CLOCKS_CLK_RTC_CTRL_AUXSRC_VALUE_CLKSRC_PLL_USB    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">ROSC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_RTC_CTRL_AUXSRC_VALUE_ROSC_CLKSRC_PH    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">XOSC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_RTC_CTRL_AUXSRC_VALUE_XOSC_CLKSRC   </td></tr>
</table>
<p >On RP2350 the clock sources are:</p><ul>
<li><b>Main Clock Sources</b></li>
</ul>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">Source   </th><th class="markdownTableHeadNone">Reference Clock   </th><th class="markdownTableHeadNone">System Clock    </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">ROSC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_REF_CTRL_SRC_VALUE_ROSC_CLKSRC_PH   </td><td class="markdownTableBodyNone"></td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">Auxiliary   </td><td class="markdownTableBodyNone">CLOCKS_CLK_REF_CTRL_SRC_VALUE_CLKSRC_CLK_REF_AUX   </td><td class="markdownTableBodyNone">CLOCKS_CLK_SYS_CTRL_SRC_VALUE_CLKSRC_CLK_SYS_AUX    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">XOSC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_REF_CTRL_SRC_VALUE_XOSC_CLKSRC   </td><td class="markdownTableBodyNone"></td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">LPOSC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_REF_CTRL_SRC_VALUE_LPOSC_CLKSRC   </td><td class="markdownTableBodyNone"></td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">Reference   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone">CLOCKS_CLK_SYS_CTRL_SRC_VALUE_CLK_REF   </td></tr>
</table>
<p ><b>Auxiliary Clock Sources</b></p>
<p >The auxiliary clock sources available for use in the configure function depend on which clock is being configured. The following table describes the available values that can be used. Note that for clk_gpout[x], x can be 0-3.</p>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">Aux Source   </th><th class="markdownTableHeadNone">clk_gpout[x]   </th><th class="markdownTableHeadNone">clk_ref   </th><th class="markdownTableHeadNone">clk_sys    </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">System PLL   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLKSRC_PLL_SYS   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone">CLOCKS_CLK_SYS_CTRL_AUXSRC_VALUE_CLKSRC_PLL_SYS    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">GPIO in 0   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLKSRC_GPIN0   </td><td class="markdownTableBodyNone">CLOCKS_CLK_REF_CTRL_AUXSRC_VALUE_CLKSRC_GPIN0   </td><td class="markdownTableBodyNone">CLOCKS_CLK_SYS_CTRL_AUXSRC_VALUE_CLKSRC_GPIN0    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">GPIO in 1   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1   </td><td class="markdownTableBodyNone">CLOCKS_CLK_REF_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1   </td><td class="markdownTableBodyNone">CLOCKS_CLK_SYS_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">USB PLL   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLKSRC_PLL_USB   </td><td class="markdownTableBodyNone">CLOCKS_CLK_REF_CTRL_AUXSRC_VALUE_CLKSRC_PLL_USB   </td><td class="markdownTableBodyNone">CLOCKS_CLK_SYS_CTRL_AUXSRC_VALUE_CLKSRC_PLL_USB    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">ROSC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_ROSC_CLKSRC   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone">CLOCKS_CLK_SYS_CTRL_AUXSRC_VALUE_ROSC_CLKSRC    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">XOSC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_XOSC_CLKSRC   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone">CLOCKS_CLK_SYS_CTRL_AUXSRC_VALUE_XOSC_CLKSRC    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">LPOSC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_LPOSC_CLKSRC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_REF_CTRL_AUXSRC_VALUE_LPOSC_CLKSRC   </td><td class="markdownTableBodyNone"></td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">System clock   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLK_SYS   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone"></td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">USB Clock   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLK_USB   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone"></td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">ADC clock   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLK_ADC   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone"></td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">REF clock   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLK_REF   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone"></td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">PERI clock   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLK_PERI   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone"></td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">HSTX clock   </td><td class="markdownTableBodyNone">CLOCKS_CLK_GPOUTx_CTRL_AUXSRC_VALUE_CLK_PERI   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone"></td></tr>
</table>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">Aux Source   </th><th class="markdownTableHeadNone">clk_peri   </th><th class="markdownTableHeadNone">clk_hstx   </th><th class="markdownTableHeadNone">clk_usb   </th><th class="markdownTableHeadNone">clk_adc    </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">System PLL   </td><td class="markdownTableBodyNone">CLOCKS_CLK_PERI_CTRL_AUXSRC_VALUE_CLKSRC_PLL_SYS   </td><td class="markdownTableBodyNone">CLOCKS_CLK_HSTX_CTRL_AUXSRC_VALUE_CLKSRC_PLL_SYS   </td><td class="markdownTableBodyNone">CLOCKS_CLK_USB_CTRL_AUXSRC_VALUE_CLKSRC_PLL_SYS   </td><td class="markdownTableBodyNone">CLOCKS_CLK_ADC_CTRL_AUXSRC_VALUE_CLKSRC_PLL_SYS    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">GPIO in 0   </td><td class="markdownTableBodyNone">CLOCKS_CLK_PERI_CTRL_AUXSRC_VALUE_CLKSRC_GPIN0   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone">CLOCKS_CLK_USB_CTRL_AUXSRC_VALUE_CLKSRC_GPIN0   </td><td class="markdownTableBodyNone">CLOCKS_CLK_ADC_CTRL_AUXSRC_VALUE_CLKSRC_GPIN0    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">GPIO in 1   </td><td class="markdownTableBodyNone">CLOCKS_CLK_PERI_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone">CLOCKS_CLK_USB_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1   </td><td class="markdownTableBodyNone">CLOCKS_CLK_ADC_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">USB PLL   </td><td class="markdownTableBodyNone">CLOCKS_CLK_PERI_CTRL_AUXSRC_VALUE_CLKSRC_PLL_USB   </td><td class="markdownTableBodyNone">CLOCKS_CLK_HSTX_CTRL_AUXSRC_VALUE_CLKSRC_PLL_USB   </td><td class="markdownTableBodyNone">CLOCKS_CLK_USB_CTRL_AUXSRC_VALUE_CLKSRC_PLL_USB   </td><td class="markdownTableBodyNone">CLOCKS_CLK_ADC_CTRL_AUXSRC_VALUE_CLKSRC_PLL_USB    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">ROSC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_PERI_CTRL_AUXSRC_VALUE_ROSC_CLKSRC_PH   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone">CLOCKS_CLK_USB_CTRL_AUXSRC_VALUE_ROSC_CLKSRC_PH   </td><td class="markdownTableBodyNone">CLOCKS_CLK_ADC_CTRL_AUXSRC_VALUE_ROSC_CLKSRC_PH    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">XOSC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_PERI_CTRL_AUXSRC_VALUE_XOSC_CLKSRC   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone">CLOCKS_CLK_USB_CTRL_AUXSRC_VALUE_XOSC_CLKSRC   </td><td class="markdownTableBodyNone">CLOCKS_CLK_ADC_CTRL_AUXSRC_VALUE_XOSC_CLKSRC    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">System clock   </td><td class="markdownTableBodyNone">CLOCKS_CLK_PERI_CTRL_AUXSRC_VALUE_CLK_SYS   </td><td class="markdownTableBodyNone">CLOCKS_CLK_HSTX_CTRL_AUXSRC_VALUE_CLK_SYS   </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone"></td></tr>
</table>
<h1><a class="anchor" id="clock_example"></a>
Example</h1>
<div class="fragment"><div class="line"> </div>
<div class="line"><span class="preprocessor">#include &lt;<a class="code" href="stdio_8h.html">stdio.h</a>&gt;</span></div>
<div class="line"><span class="preprocessor">#include &quot;<a class="code" href="stdlib_8h.html">pico/stdlib.h</a>&quot;</span></div>
<div class="line"><span class="preprocessor">#include &quot;<a class="code" href="rp2__common_2hardware__pll_2include_2hardware_2pll_8h.html">hardware/pll.h</a>&quot;</span></div>
<div class="line"><span class="preprocessor">#include &quot;<a class="code" href="rp2__common_2hardware__clocks_2include_2hardware_2clocks_8h.html">hardware/clocks.h</a>&quot;</span></div>
<div class="line"><span class="preprocessor">#include &quot;hardware/structs/pll.h&quot;</span></div>
<div class="line"><span class="preprocessor">#include &quot;hardware/structs/clocks.h&quot;</span></div>
<div class="line"> </div>
<div class="line"><span class="keywordtype">void</span> measure_freqs(<span class="keywordtype">void</span>) {</div>
<div class="line">    uint f_pll_sys = <a class="code hl_function" href="group__hardware__clocks.html#gaeb4a4f07e66523304837a6498276dd53">frequency_count_khz</a>(CLOCKS_FC0_SRC_VALUE_PLL_SYS_CLKSRC_PRIMARY);</div>
<div class="line">    uint f_pll_usb = <a class="code hl_function" href="group__hardware__clocks.html#gaeb4a4f07e66523304837a6498276dd53">frequency_count_khz</a>(CLOCKS_FC0_SRC_VALUE_PLL_USB_CLKSRC_PRIMARY);</div>
<div class="line">    uint f_rosc = <a class="code hl_function" href="group__hardware__clocks.html#gaeb4a4f07e66523304837a6498276dd53">frequency_count_khz</a>(CLOCKS_FC0_SRC_VALUE_ROSC_CLKSRC);</div>
<div class="line">    uint f_clk_sys = <a class="code hl_function" href="group__hardware__clocks.html#gaeb4a4f07e66523304837a6498276dd53">frequency_count_khz</a>(CLOCKS_FC0_SRC_VALUE_CLK_SYS);</div>
<div class="line">    uint f_clk_peri = <a class="code hl_function" href="group__hardware__clocks.html#gaeb4a4f07e66523304837a6498276dd53">frequency_count_khz</a>(CLOCKS_FC0_SRC_VALUE_CLK_PERI);</div>
<div class="line">    uint f_clk_usb = <a class="code hl_function" href="group__hardware__clocks.html#gaeb4a4f07e66523304837a6498276dd53">frequency_count_khz</a>(CLOCKS_FC0_SRC_VALUE_CLK_USB);</div>
<div class="line">    uint f_clk_adc = <a class="code hl_function" href="group__hardware__clocks.html#gaeb4a4f07e66523304837a6498276dd53">frequency_count_khz</a>(CLOCKS_FC0_SRC_VALUE_CLK_ADC);</div>
<div class="line">    uint f_clk_rtc = <a class="code hl_function" href="group__hardware__clocks.html#gaeb4a4f07e66523304837a6498276dd53">frequency_count_khz</a>(CLOCKS_FC0_SRC_VALUE_CLK_RTC);</div>
<div class="line"> </div>
<div class="line">    printf(<span class="stringliteral">&quot;pll_sys  = %dkHz\n&quot;</span>, f_pll_sys);</div>
<div class="line">    printf(<span class="stringliteral">&quot;pll_usb  = %dkHz\n&quot;</span>, f_pll_usb);</div>
<div class="line">    printf(<span class="stringliteral">&quot;rosc     = %dkHz\n&quot;</span>, f_rosc);</div>
<div class="line">    printf(<span class="stringliteral">&quot;clk_sys  = %dkHz\n&quot;</span>, f_clk_sys);</div>
<div class="line">    printf(<span class="stringliteral">&quot;clk_peri = %dkHz\n&quot;</span>, f_clk_peri);</div>
<div class="line">    printf(<span class="stringliteral">&quot;clk_usb  = %dkHz\n&quot;</span>, f_clk_usb);</div>
<div class="line">    printf(<span class="stringliteral">&quot;clk_adc  = %dkHz\n&quot;</span>, f_clk_adc);</div>
<div class="line">    printf(<span class="stringliteral">&quot;clk_rtc  = %dkHz\n&quot;</span>, f_clk_rtc);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Can&#39;t measure clk_ref / xosc as it is the ref</span></div>
<div class="line">}</div>
<div class="line"> </div>
<div class="line"><span class="keywordtype">int</span> main() {</div>
<div class="line">    <a class="code hl_function" href="group__pico__stdio.html#ga0e604311fb226dae91ff4eb17a19d67a">stdio_init_all</a>();</div>
<div class="line"> </div>
<div class="line">    printf(<span class="stringliteral">&quot;Hello, world!\n&quot;</span>);</div>
<div class="line"> </div>
<div class="line">    measure_freqs();</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Change clk_sys to be 48MHz. The simplest way is to take this from PLL_USB</span></div>
<div class="line">    <span class="comment">// which has a source frequency of 48MHz</span></div>
<div class="line">    <a class="code hl_function" href="group__hardware__clocks.html#ga4da87f338212a24bbebce4dd570b81bb">clock_configure</a>(<a class="code hl_enumvalue" href="group__hardware__clocks.html#ggacf8c8ac7970cacdec6c5f62a62926644ac1ad7b83e348265a82c8d234489d62ab">clk_sys</a>,</div>
<div class="line">                    CLOCKS_CLK_SYS_CTRL_SRC_VALUE_CLKSRC_CLK_SYS_AUX,</div>
<div class="line">                    CLOCKS_CLK_SYS_CTRL_AUXSRC_VALUE_CLKSRC_PLL_USB,</div>
<div class="line">                    48 * MHZ,</div>
<div class="line">                    48 * MHZ);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Turn off PLL sys for good measure</span></div>
<div class="line">    <a class="code hl_function" href="group__hardware__pll.html#ga4529ac07cbd8575938245850d20aba29">pll_deinit</a>(pll_sys);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// CLK peri is clocked from clk_sys so need to change clk_peri&#39;s freq</span></div>
<div class="line">    <a class="code hl_function" href="group__hardware__clocks.html#ga4da87f338212a24bbebce4dd570b81bb">clock_configure</a>(<a class="code hl_enumvalue" href="group__hardware__clocks.html#ggacf8c8ac7970cacdec6c5f62a62926644a917c020907b42e257410e885822f6c71">clk_peri</a>,</div>
<div class="line">                    0,</div>
<div class="line">                    CLOCKS_CLK_PERI_CTRL_AUXSRC_VALUE_CLK_SYS,</div>
<div class="line">                    48 * MHZ,</div>
<div class="line">                    48 * MHZ);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Re init uart now that clk_peri has changed</span></div>
<div class="line">    <a class="code hl_function" href="group__pico__stdio.html#ga0e604311fb226dae91ff4eb17a19d67a">stdio_init_all</a>();</div>
<div class="line"> </div>
<div class="line">    measure_freqs();</div>
<div class="line">    printf(<span class="stringliteral">&quot;Hello, 48MHz&quot;</span>);</div>
<div class="line"> </div>
<div class="line">    <span class="keywordflow">return</span> 0;</div>
<div class="line">}</div>
<div class="ttc" id="agroup__hardware__clocks_html_ga4da87f338212a24bbebce4dd570b81bb"><div class="ttname"><a href="group__hardware__clocks.html#ga4da87f338212a24bbebce4dd570b81bb">clock_configure</a></div><div class="ttdeci">bool clock_configure(clock_handle_t clock, uint32_t src, uint32_t auxsrc, uint32_t src_freq, uint32_t freq)</div><div class="ttdoc">Configure the specified clock.</div><div class="ttdef"><b>Definition:</b> clocks.c:98</div></div>
<div class="ttc" id="agroup__hardware__clocks_html_gaeb4a4f07e66523304837a6498276dd53"><div class="ttname"><a href="group__hardware__clocks.html#gaeb4a4f07e66523304837a6498276dd53">frequency_count_khz</a></div><div class="ttdeci">uint32_t frequency_count_khz(uint src)</div><div class="ttdoc">Measure a clocks frequency using the Frequency counter.</div><div class="ttdef"><b>Definition:</b> clocks.c:133</div></div>
<div class="ttc" id="agroup__hardware__clocks_html_ggacf8c8ac7970cacdec6c5f62a62926644a917c020907b42e257410e885822f6c71"><div class="ttname"><a href="group__hardware__clocks.html#ggacf8c8ac7970cacdec6c5f62a62926644a917c020907b42e257410e885822f6c71">clk_peri</a></div><div class="ttdeci">@ clk_peri</div><div class="ttdoc">Select CLK_PERI as clock source.</div><div class="ttdef"><b>Definition:</b> clocks.h:37</div></div>
<div class="ttc" id="agroup__hardware__clocks_html_ggacf8c8ac7970cacdec6c5f62a62926644ac1ad7b83e348265a82c8d234489d62ab"><div class="ttname"><a href="group__hardware__clocks.html#ggacf8c8ac7970cacdec6c5f62a62926644ac1ad7b83e348265a82c8d234489d62ab">clk_sys</a></div><div class="ttdeci">@ clk_sys</div><div class="ttdoc">Select CLK_SYS as clock source.</div><div class="ttdef"><b>Definition:</b> clocks.h:36</div></div>
<div class="ttc" id="agroup__hardware__pll_html_ga4529ac07cbd8575938245850d20aba29"><div class="ttname"><a href="group__hardware__pll.html#ga4529ac07cbd8575938245850d20aba29">pll_deinit</a></div><div class="ttdeci">void pll_deinit(PLL pll)</div><div class="ttdoc">Release/uninitialise specified PLL.</div><div class="ttdef"><b>Definition:</b> pll.c:73</div></div>
<div class="ttc" id="agroup__pico__stdio_html_ga0e604311fb226dae91ff4eb17a19d67a"><div class="ttname"><a href="group__pico__stdio.html#ga0e604311fb226dae91ff4eb17a19d67a">stdio_init_all</a></div><div class="ttdeci">bool stdio_init_all(void)</div><div class="ttdoc">Initialize all of the present standard stdio types that are linked into the binary.</div><div class="ttdef"><b>Definition:</b> stdio.c:200</div></div>
<div class="ttc" id="arp2__common_2hardware__clocks_2include_2hardware_2clocks_8h_html"><div class="ttname"><a href="rp2__common_2hardware__clocks_2include_2hardware_2clocks_8h.html">clocks.h</a></div></div>
<div class="ttc" id="arp2__common_2hardware__pll_2include_2hardware_2pll_8h_html"><div class="ttname"><a href="rp2__common_2hardware__pll_2include_2hardware_2pll_8h.html">pll.h</a></div></div>
<div class="ttc" id="astdio_8h_html"><div class="ttname"><a href="stdio_8h.html">stdio.h</a></div></div>
<div class="ttc" id="astdlib_8h_html"><div class="ttname"><a href="stdlib_8h.html">stdlib.h</a></div></div>
</div><!-- fragment --> <h2 class="groupheader">Typedef Documentation</h2>
<a id="ga60fddc9bfe13c979c8e3a777d0d89037" name="ga60fddc9bfe13c979c8e3a777d0d89037"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga60fddc9bfe13c979c8e3a777d0d89037">&#9670;&nbsp;</a></span>resus_callback_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* resus_callback_t) (void)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resus callback function type. </p>
<p >User provided callback for a resus event (when clk_sys is stopped by the programmer and is restarted for them). </p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ga531be47022a78745db42ab7b29da20e0" name="ga531be47022a78745db42ab7b29da20e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga531be47022a78745db42ab7b29da20e0">&#9670;&nbsp;</a></span>clock_dest_num_rp2040</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__hardware__clocks.html#ga531be47022a78745db42ab7b29da20e0">clock_dest_num_rp2040</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clock destination numbers on RP2040 (used as typedef <a class="el" href="group__hardware__clocks.html#ga316b881883b0533cc32883b31f8a08e3">clock_dest_num_t</a>) </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0aa7a13316822ebdd07cdff5d1153e5310" name="gga531be47022a78745db42ab7b29da20e0aa7a13316822ebdd07cdff5d1153e5310"></a>CLK_DEST_SYS_CLOCKS&#160;</td><td class="fielddoc"><p >Select SYS_CLOCKS as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a82f9dca3d810a91d3bcb0c55bb0f4c19" name="gga531be47022a78745db42ab7b29da20e0a82f9dca3d810a91d3bcb0c55bb0f4c19"></a>CLK_DEST_ADC_ADC&#160;</td><td class="fielddoc"><p >Select ADC_ADC as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0adbfba27500f20882fb56f18ad253fe99" name="gga531be47022a78745db42ab7b29da20e0adbfba27500f20882fb56f18ad253fe99"></a>CLK_DEST_SYS_ADC&#160;</td><td class="fielddoc"><p >Select SYS_ADC as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a15ec1c8d5bbfc27b125f8cee2bfdd195" name="gga531be47022a78745db42ab7b29da20e0a15ec1c8d5bbfc27b125f8cee2bfdd195"></a>CLK_DEST_SYS_BUSCTRL&#160;</td><td class="fielddoc"><p >Select SYS_BUSCTRL as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0ab4619e35c93f6d3ced95dc46a9985111" name="gga531be47022a78745db42ab7b29da20e0ab4619e35c93f6d3ced95dc46a9985111"></a>CLK_DEST_SYS_BUSFABRIC&#160;</td><td class="fielddoc"><p >Select SYS_BUSFABRIC as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0ab755ea73b6228c074c77af35bd685138" name="gga531be47022a78745db42ab7b29da20e0ab755ea73b6228c074c77af35bd685138"></a>CLK_DEST_SYS_DMA&#160;</td><td class="fielddoc"><p >Select SYS_DMA as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0acea8045f9a17d3b88e6f3317de4998fa" name="gga531be47022a78745db42ab7b29da20e0acea8045f9a17d3b88e6f3317de4998fa"></a>CLK_DEST_SYS_I2C0&#160;</td><td class="fielddoc"><p >Select SYS_I2C0 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a48d42cf1310af2059f28646feb4b3dc0" name="gga531be47022a78745db42ab7b29da20e0a48d42cf1310af2059f28646feb4b3dc0"></a>CLK_DEST_SYS_I2C1&#160;</td><td class="fielddoc"><p >Select SYS_I2C1 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a8791146f5044f87ecad1240400524783" name="gga531be47022a78745db42ab7b29da20e0a8791146f5044f87ecad1240400524783"></a>CLK_DEST_SYS_IO&#160;</td><td class="fielddoc"><p >Select SYS_IO as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a86acc3f11f842c926a33e9041f0d7d97" name="gga531be47022a78745db42ab7b29da20e0a86acc3f11f842c926a33e9041f0d7d97"></a>CLK_DEST_SYS_JTAG&#160;</td><td class="fielddoc"><p >Select SYS_JTAG as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a926ae7e7d7f16c9068b5771c4ab0cf31" name="gga531be47022a78745db42ab7b29da20e0a926ae7e7d7f16c9068b5771c4ab0cf31"></a>CLK_DEST_SYS_VREG_AND_CHIP_RESET&#160;</td><td class="fielddoc"><p >Select SYS_VREG_AND_CHIP_RESET as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a5073bc32f089257f5ce13fcf9dccfd66" name="gga531be47022a78745db42ab7b29da20e0a5073bc32f089257f5ce13fcf9dccfd66"></a>CLK_DEST_SYS_PADS&#160;</td><td class="fielddoc"><p >Select SYS_PADS as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a7ad1ec92e507d96db3c62458345388b3" name="gga531be47022a78745db42ab7b29da20e0a7ad1ec92e507d96db3c62458345388b3"></a>CLK_DEST_SYS_PIO0&#160;</td><td class="fielddoc"><p >Select SYS_PIO0 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a1b7c866f60f6d7a3599851eda6236873" name="gga531be47022a78745db42ab7b29da20e0a1b7c866f60f6d7a3599851eda6236873"></a>CLK_DEST_SYS_PIO1&#160;</td><td class="fielddoc"><p >Select SYS_PIO1 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0aaf028e60c1678efe0e465a5c4e63be11" name="gga531be47022a78745db42ab7b29da20e0aaf028e60c1678efe0e465a5c4e63be11"></a>CLK_DEST_SYS_PLL_SYS&#160;</td><td class="fielddoc"><p >Select SYS_PLL_SYS as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a271e8b16de996d59cf242f3aca93a2f4" name="gga531be47022a78745db42ab7b29da20e0a271e8b16de996d59cf242f3aca93a2f4"></a>CLK_DEST_SYS_PLL_USB&#160;</td><td class="fielddoc"><p >Select SYS_PLL_USB as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a1dc3155054ea4ba3d0d93c26fdea0d4d" name="gga531be47022a78745db42ab7b29da20e0a1dc3155054ea4ba3d0d93c26fdea0d4d"></a>CLK_DEST_SYS_PSM&#160;</td><td class="fielddoc"><p >Select SYS_PSM as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a9efe04f57df4b458903c403addec9483" name="gga531be47022a78745db42ab7b29da20e0a9efe04f57df4b458903c403addec9483"></a>CLK_DEST_SYS_PWM&#160;</td><td class="fielddoc"><p >Select SYS_PWM as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0ad5cf6d4b4c6dcc60f79491e33604a9e9" name="gga531be47022a78745db42ab7b29da20e0ad5cf6d4b4c6dcc60f79491e33604a9e9"></a>CLK_DEST_SYS_RESETS&#160;</td><td class="fielddoc"><p >Select SYS_RESETS as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0ae875abcf316976020784c41df511d47a" name="gga531be47022a78745db42ab7b29da20e0ae875abcf316976020784c41df511d47a"></a>CLK_DEST_SYS_ROM&#160;</td><td class="fielddoc"><p >Select SYS_ROM as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a6ee938da9230f98365dc67ece536c0d4" name="gga531be47022a78745db42ab7b29da20e0a6ee938da9230f98365dc67ece536c0d4"></a>CLK_DEST_SYS_ROSC&#160;</td><td class="fielddoc"><p >Select SYS_ROSC as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a863510ab355fb0af8763acca9d54146a" name="gga531be47022a78745db42ab7b29da20e0a863510ab355fb0af8763acca9d54146a"></a>CLK_DEST_RTC_RTC&#160;</td><td class="fielddoc"><p >Select RTC_RTC as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0af7e06e650c8533c8a09dc9bbcee9da34" name="gga531be47022a78745db42ab7b29da20e0af7e06e650c8533c8a09dc9bbcee9da34"></a>CLK_DEST_SYS_RTC&#160;</td><td class="fielddoc"><p >Select SYS_RTC as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a1cd7587c812db4711ac8d27773fb8e14" name="gga531be47022a78745db42ab7b29da20e0a1cd7587c812db4711ac8d27773fb8e14"></a>CLK_DEST_SYS_SIO&#160;</td><td class="fielddoc"><p >Select SYS_SIO as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a8f3ca54d0df7350adb6490c17f01a151" name="gga531be47022a78745db42ab7b29da20e0a8f3ca54d0df7350adb6490c17f01a151"></a>CLK_DEST_PERI_SPI0&#160;</td><td class="fielddoc"><p >Select PERI_SPI0 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0aac3c334ad4b9eb5e6b77d306f9cf6690" name="gga531be47022a78745db42ab7b29da20e0aac3c334ad4b9eb5e6b77d306f9cf6690"></a>CLK_DEST_SYS_SPI0&#160;</td><td class="fielddoc"><p >Select SYS_SPI0 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0ac8f3984ecd0d63da5c94bc4441d5fdbf" name="gga531be47022a78745db42ab7b29da20e0ac8f3984ecd0d63da5c94bc4441d5fdbf"></a>CLK_DEST_PERI_SPI1&#160;</td><td class="fielddoc"><p >Select PERI_SPI1 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a7db9d6d1b85c7e8d013147af55ac254f" name="gga531be47022a78745db42ab7b29da20e0a7db9d6d1b85c7e8d013147af55ac254f"></a>CLK_DEST_SYS_SPI1&#160;</td><td class="fielddoc"><p >Select SYS_SPI1 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0aa6b672bba828f538d59cffe4bc56b870" name="gga531be47022a78745db42ab7b29da20e0aa6b672bba828f538d59cffe4bc56b870"></a>CLK_DEST_SYS_SRAM0&#160;</td><td class="fielddoc"><p >Select SYS_SRAM0 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a5c1252a95489d26504d348a6f19e67b0" name="gga531be47022a78745db42ab7b29da20e0a5c1252a95489d26504d348a6f19e67b0"></a>CLK_DEST_SYS_SRAM1&#160;</td><td class="fielddoc"><p >Select SYS_SRAM1 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a7ae6e07aa86527443649f572c24d1122" name="gga531be47022a78745db42ab7b29da20e0a7ae6e07aa86527443649f572c24d1122"></a>CLK_DEST_SYS_SRAM2&#160;</td><td class="fielddoc"><p >Select SYS_SRAM2 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0ad7e2e7aeebabc9a8f4e1a6f6da524d71" name="gga531be47022a78745db42ab7b29da20e0ad7e2e7aeebabc9a8f4e1a6f6da524d71"></a>CLK_DEST_SYS_SRAM3&#160;</td><td class="fielddoc"><p >Select SYS_SRAM3 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a677f4e9d98d29174fec1004f6e23b2c2" name="gga531be47022a78745db42ab7b29da20e0a677f4e9d98d29174fec1004f6e23b2c2"></a>CLK_DEST_SYS_SRAM4&#160;</td><td class="fielddoc"><p >Select SYS_SRAM4 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a7b3c35197cbab8b5ab72b48a82f32311" name="gga531be47022a78745db42ab7b29da20e0a7b3c35197cbab8b5ab72b48a82f32311"></a>CLK_DEST_SYS_SRAM5&#160;</td><td class="fielddoc"><p >Select SYS_SRAM5 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a92b8a0c0a339b0f99c691fda320ff861" name="gga531be47022a78745db42ab7b29da20e0a92b8a0c0a339b0f99c691fda320ff861"></a>CLK_DEST_SYS_SYSCFG&#160;</td><td class="fielddoc"><p >Select SYS_SYSCFG as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a8b535a46ba2d708945181d4cca938eac" name="gga531be47022a78745db42ab7b29da20e0a8b535a46ba2d708945181d4cca938eac"></a>CLK_DEST_SYS_SYSINFO&#160;</td><td class="fielddoc"><p >Select SYS_SYSINFO as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a23baa826e55d0832bce75b9e2e754a57" name="gga531be47022a78745db42ab7b29da20e0a23baa826e55d0832bce75b9e2e754a57"></a>CLK_DEST_SYS_TBMAN&#160;</td><td class="fielddoc"><p >Select SYS_TBMAN as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0aa44be434dc7d9edafd44b3a4f571a57e" name="gga531be47022a78745db42ab7b29da20e0aa44be434dc7d9edafd44b3a4f571a57e"></a>CLK_DEST_SYS_TIMER&#160;</td><td class="fielddoc"><p >Select SYS_TIMER as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a2e51b16c56acbeb6653950af41e53b76" name="gga531be47022a78745db42ab7b29da20e0a2e51b16c56acbeb6653950af41e53b76"></a>CLK_DEST_PERI_UART0&#160;</td><td class="fielddoc"><p >Select PERI_UART0 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a2251766749e744153aaf4d346106b69c" name="gga531be47022a78745db42ab7b29da20e0a2251766749e744153aaf4d346106b69c"></a>CLK_DEST_SYS_UART0&#160;</td><td class="fielddoc"><p >Select SYS_UART0 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a67d5461d0b587344012b3e6115a97268" name="gga531be47022a78745db42ab7b29da20e0a67d5461d0b587344012b3e6115a97268"></a>CLK_DEST_PERI_UART1&#160;</td><td class="fielddoc"><p >Select PERI_UART1 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0aaad38671055261992e9f624b24a708f7" name="gga531be47022a78745db42ab7b29da20e0aaad38671055261992e9f624b24a708f7"></a>CLK_DEST_SYS_UART1&#160;</td><td class="fielddoc"><p >Select SYS_UART1 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a2a29b91d850c1b0b6dd1610d8b2f361a" name="gga531be47022a78745db42ab7b29da20e0a2a29b91d850c1b0b6dd1610d8b2f361a"></a>CLK_DEST_SYS_USBCTRL&#160;</td><td class="fielddoc"><p >Select SYS_USBCTRL as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0acc49f83fc860608938bf4aeb146f8076" name="gga531be47022a78745db42ab7b29da20e0acc49f83fc860608938bf4aeb146f8076"></a>CLK_DEST_USB_USBCTRL&#160;</td><td class="fielddoc"><p >Select USB_USBCTRL as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a6924053ca1ffe2b13ae349b720d61444" name="gga531be47022a78745db42ab7b29da20e0a6924053ca1ffe2b13ae349b720d61444"></a>CLK_DEST_SYS_WATCHDOG&#160;</td><td class="fielddoc"><p >Select SYS_WATCHDOG as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0a55ccc9b0512b87373e0ebed3bc0a3675" name="gga531be47022a78745db42ab7b29da20e0a55ccc9b0512b87373e0ebed3bc0a3675"></a>CLK_DEST_SYS_XIP&#160;</td><td class="fielddoc"><p >Select SYS_XIP as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga531be47022a78745db42ab7b29da20e0afc877f622f554735e90baea698edaf8a" name="gga531be47022a78745db42ab7b29da20e0afc877f622f554735e90baea698edaf8a"></a>CLK_DEST_SYS_XOSC&#160;</td><td class="fielddoc"><p >Select SYS_XOSC as clock destination. </p>
</td></tr>
</table>

</div>
</div>
<a id="ga1c6adf915fb4a4c82e5e702ebc38b5d5" name="ga1c6adf915fb4a4c82e5e702ebc38b5d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1c6adf915fb4a4c82e5e702ebc38b5d5">&#9670;&nbsp;</a></span>clock_dest_num_rp2350</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__hardware__clocks.html#ga1c6adf915fb4a4c82e5e702ebc38b5d5">clock_dest_num_rp2350</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clock destination numbers on RP2350 (used as typedef <a class="el" href="group__hardware__clocks.html#ga316b881883b0533cc32883b31f8a08e3">clock_dest_num_t</a>) </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5aa7a13316822ebdd07cdff5d1153e5310" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5aa7a13316822ebdd07cdff5d1153e5310"></a>CLK_DEST_SYS_CLOCKS&#160;</td><td class="fielddoc"><p >Select SYS_CLOCKS as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a38f611f6e4e267ed77a821452c80bdca" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a38f611f6e4e267ed77a821452c80bdca"></a>CLK_DEST_SYS_ACCESSCTRL&#160;</td><td class="fielddoc"><p >Select SYS_ACCESSCTRL as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a8fe55c6dbc7dc72e0e9e46210769cc22" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a8fe55c6dbc7dc72e0e9e46210769cc22"></a>CLK_DEST_ADC&#160;</td><td class="fielddoc"><p >Select ADC as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5adbfba27500f20882fb56f18ad253fe99" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5adbfba27500f20882fb56f18ad253fe99"></a>CLK_DEST_SYS_ADC&#160;</td><td class="fielddoc"><p >Select SYS_ADC as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5ae0542ef5fa70b55e10f4c61ca35bf4fe" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5ae0542ef5fa70b55e10f4c61ca35bf4fe"></a>CLK_DEST_SYS_BOOTRAM&#160;</td><td class="fielddoc"><p >Select SYS_BOOTRAM as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a15ec1c8d5bbfc27b125f8cee2bfdd195" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a15ec1c8d5bbfc27b125f8cee2bfdd195"></a>CLK_DEST_SYS_BUSCTRL&#160;</td><td class="fielddoc"><p >Select SYS_BUSCTRL as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5ab4619e35c93f6d3ced95dc46a9985111" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5ab4619e35c93f6d3ced95dc46a9985111"></a>CLK_DEST_SYS_BUSFABRIC&#160;</td><td class="fielddoc"><p >Select SYS_BUSFABRIC as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5ab755ea73b6228c074c77af35bd685138" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5ab755ea73b6228c074c77af35bd685138"></a>CLK_DEST_SYS_DMA&#160;</td><td class="fielddoc"><p >Select SYS_DMA as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5ac5b88dcc7c4bf5dd08fbcb5a61f254ea" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5ac5b88dcc7c4bf5dd08fbcb5a61f254ea"></a>CLK_DEST_SYS_GLITCH_DETECTOR&#160;</td><td class="fielddoc"><p >Select SYS_GLITCH_DETECTOR as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a5562093c17670895f1dbc52469f07bd2" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a5562093c17670895f1dbc52469f07bd2"></a>CLK_DEST_HSTX&#160;</td><td class="fielddoc"><p >Select HSTX as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5afee73393c34c44c30df6cd610a579d54" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5afee73393c34c44c30df6cd610a579d54"></a>CLK_DEST_SYS_HSTX&#160;</td><td class="fielddoc"><p >Select SYS_HSTX as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5acea8045f9a17d3b88e6f3317de4998fa" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5acea8045f9a17d3b88e6f3317de4998fa"></a>CLK_DEST_SYS_I2C0&#160;</td><td class="fielddoc"><p >Select SYS_I2C0 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a48d42cf1310af2059f28646feb4b3dc0" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a48d42cf1310af2059f28646feb4b3dc0"></a>CLK_DEST_SYS_I2C1&#160;</td><td class="fielddoc"><p >Select SYS_I2C1 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a8791146f5044f87ecad1240400524783" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a8791146f5044f87ecad1240400524783"></a>CLK_DEST_SYS_IO&#160;</td><td class="fielddoc"><p >Select SYS_IO as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a86acc3f11f842c926a33e9041f0d7d97" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a86acc3f11f842c926a33e9041f0d7d97"></a>CLK_DEST_SYS_JTAG&#160;</td><td class="fielddoc"><p >Select SYS_JTAG as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a538a61bfced3e933cddc0391f5360ffc" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a538a61bfced3e933cddc0391f5360ffc"></a>CLK_DEST_REF_OTP&#160;</td><td class="fielddoc"><p >Select REF_OTP as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5ae6c65bc827f2b0854e30bfa2d922fbda" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5ae6c65bc827f2b0854e30bfa2d922fbda"></a>CLK_DEST_SYS_OTP&#160;</td><td class="fielddoc"><p >Select SYS_OTP as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a5073bc32f089257f5ce13fcf9dccfd66" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a5073bc32f089257f5ce13fcf9dccfd66"></a>CLK_DEST_SYS_PADS&#160;</td><td class="fielddoc"><p >Select SYS_PADS as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a7ad1ec92e507d96db3c62458345388b3" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a7ad1ec92e507d96db3c62458345388b3"></a>CLK_DEST_SYS_PIO0&#160;</td><td class="fielddoc"><p >Select SYS_PIO0 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a1b7c866f60f6d7a3599851eda6236873" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a1b7c866f60f6d7a3599851eda6236873"></a>CLK_DEST_SYS_PIO1&#160;</td><td class="fielddoc"><p >Select SYS_PIO1 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a73e94eec50a0d7d9e65dba9347390554" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a73e94eec50a0d7d9e65dba9347390554"></a>CLK_DEST_SYS_PIO2&#160;</td><td class="fielddoc"><p >Select SYS_PIO2 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5aaf028e60c1678efe0e465a5c4e63be11" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5aaf028e60c1678efe0e465a5c4e63be11"></a>CLK_DEST_SYS_PLL_SYS&#160;</td><td class="fielddoc"><p >Select SYS_PLL_SYS as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a271e8b16de996d59cf242f3aca93a2f4" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a271e8b16de996d59cf242f3aca93a2f4"></a>CLK_DEST_SYS_PLL_USB&#160;</td><td class="fielddoc"><p >Select SYS_PLL_USB as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a1344c68dad37ca6d787453f19d0cbfbb" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a1344c68dad37ca6d787453f19d0cbfbb"></a>CLK_DEST_REF_POWMAN&#160;</td><td class="fielddoc"><p >Select REF_POWMAN as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a8cce4f58134a4027e29097cb39ccde64" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a8cce4f58134a4027e29097cb39ccde64"></a>CLK_DEST_SYS_POWMAN&#160;</td><td class="fielddoc"><p >Select SYS_POWMAN as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a9efe04f57df4b458903c403addec9483" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a9efe04f57df4b458903c403addec9483"></a>CLK_DEST_SYS_PWM&#160;</td><td class="fielddoc"><p >Select SYS_PWM as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5ad5cf6d4b4c6dcc60f79491e33604a9e9" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5ad5cf6d4b4c6dcc60f79491e33604a9e9"></a>CLK_DEST_SYS_RESETS&#160;</td><td class="fielddoc"><p >Select SYS_RESETS as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5ae875abcf316976020784c41df511d47a" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5ae875abcf316976020784c41df511d47a"></a>CLK_DEST_SYS_ROM&#160;</td><td class="fielddoc"><p >Select SYS_ROM as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a6ee938da9230f98365dc67ece536c0d4" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a6ee938da9230f98365dc67ece536c0d4"></a>CLK_DEST_SYS_ROSC&#160;</td><td class="fielddoc"><p >Select SYS_ROSC as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a1dc3155054ea4ba3d0d93c26fdea0d4d" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a1dc3155054ea4ba3d0d93c26fdea0d4d"></a>CLK_DEST_SYS_PSM&#160;</td><td class="fielddoc"><p >Select SYS_PSM as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a23f702940b3e822a8ef2f916de5f3ca4" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a23f702940b3e822a8ef2f916de5f3ca4"></a>CLK_DEST_SYS_SHA256&#160;</td><td class="fielddoc"><p >Select SYS_SHA256 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a1cd7587c812db4711ac8d27773fb8e14" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a1cd7587c812db4711ac8d27773fb8e14"></a>CLK_DEST_SYS_SIO&#160;</td><td class="fielddoc"><p >Select SYS_SIO as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a8f3ca54d0df7350adb6490c17f01a151" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a8f3ca54d0df7350adb6490c17f01a151"></a>CLK_DEST_PERI_SPI0&#160;</td><td class="fielddoc"><p >Select PERI_SPI0 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5aac3c334ad4b9eb5e6b77d306f9cf6690" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5aac3c334ad4b9eb5e6b77d306f9cf6690"></a>CLK_DEST_SYS_SPI0&#160;</td><td class="fielddoc"><p >Select SYS_SPI0 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5ac8f3984ecd0d63da5c94bc4441d5fdbf" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5ac8f3984ecd0d63da5c94bc4441d5fdbf"></a>CLK_DEST_PERI_SPI1&#160;</td><td class="fielddoc"><p >Select PERI_SPI1 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a7db9d6d1b85c7e8d013147af55ac254f" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a7db9d6d1b85c7e8d013147af55ac254f"></a>CLK_DEST_SYS_SPI1&#160;</td><td class="fielddoc"><p >Select SYS_SPI1 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5aa6b672bba828f538d59cffe4bc56b870" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5aa6b672bba828f538d59cffe4bc56b870"></a>CLK_DEST_SYS_SRAM0&#160;</td><td class="fielddoc"><p >Select SYS_SRAM0 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a5c1252a95489d26504d348a6f19e67b0" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a5c1252a95489d26504d348a6f19e67b0"></a>CLK_DEST_SYS_SRAM1&#160;</td><td class="fielddoc"><p >Select SYS_SRAM1 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a7ae6e07aa86527443649f572c24d1122" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a7ae6e07aa86527443649f572c24d1122"></a>CLK_DEST_SYS_SRAM2&#160;</td><td class="fielddoc"><p >Select SYS_SRAM2 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5ad7e2e7aeebabc9a8f4e1a6f6da524d71" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5ad7e2e7aeebabc9a8f4e1a6f6da524d71"></a>CLK_DEST_SYS_SRAM3&#160;</td><td class="fielddoc"><p >Select SYS_SRAM3 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a677f4e9d98d29174fec1004f6e23b2c2" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a677f4e9d98d29174fec1004f6e23b2c2"></a>CLK_DEST_SYS_SRAM4&#160;</td><td class="fielddoc"><p >Select SYS_SRAM4 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a7b3c35197cbab8b5ab72b48a82f32311" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a7b3c35197cbab8b5ab72b48a82f32311"></a>CLK_DEST_SYS_SRAM5&#160;</td><td class="fielddoc"><p >Select SYS_SRAM5 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5ab2b65f63a864ac8a45bfe110a11db6db" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5ab2b65f63a864ac8a45bfe110a11db6db"></a>CLK_DEST_SYS_SRAM6&#160;</td><td class="fielddoc"><p >Select SYS_SRAM6 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a50404f44d65aded4e71e207deb5964bc" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a50404f44d65aded4e71e207deb5964bc"></a>CLK_DEST_SYS_SRAM7&#160;</td><td class="fielddoc"><p >Select SYS_SRAM7 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a0c84120ed56e95c3340d4df7b5e96fc0" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a0c84120ed56e95c3340d4df7b5e96fc0"></a>CLK_DEST_SYS_SRAM8&#160;</td><td class="fielddoc"><p >Select SYS_SRAM8 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a2482a2989d3bdbc92042bed83e5f5ef1" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a2482a2989d3bdbc92042bed83e5f5ef1"></a>CLK_DEST_SYS_SRAM9&#160;</td><td class="fielddoc"><p >Select SYS_SRAM9 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a92b8a0c0a339b0f99c691fda320ff861" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a92b8a0c0a339b0f99c691fda320ff861"></a>CLK_DEST_SYS_SYSCFG&#160;</td><td class="fielddoc"><p >Select SYS_SYSCFG as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a8b535a46ba2d708945181d4cca938eac" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a8b535a46ba2d708945181d4cca938eac"></a>CLK_DEST_SYS_SYSINFO&#160;</td><td class="fielddoc"><p >Select SYS_SYSINFO as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a23baa826e55d0832bce75b9e2e754a57" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a23baa826e55d0832bce75b9e2e754a57"></a>CLK_DEST_SYS_TBMAN&#160;</td><td class="fielddoc"><p >Select SYS_TBMAN as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a1e9aabaf8df6e58768de88de50ffacca" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a1e9aabaf8df6e58768de88de50ffacca"></a>CLK_DEST_REF_TICKS&#160;</td><td class="fielddoc"><p >Select REF_TICKS as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5aa207bbfebc0f0f783815c678cd1dbf61" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5aa207bbfebc0f0f783815c678cd1dbf61"></a>CLK_DEST_SYS_TICKS&#160;</td><td class="fielddoc"><p >Select SYS_TICKS as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a97deb8908aaf8dd9cd2e288dfb280af1" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a97deb8908aaf8dd9cd2e288dfb280af1"></a>CLK_DEST_SYS_TIMER0&#160;</td><td class="fielddoc"><p >Select SYS_TIMER0 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a7fecfce9098d7b9f712ff08dd428b900" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a7fecfce9098d7b9f712ff08dd428b900"></a>CLK_DEST_SYS_TIMER1&#160;</td><td class="fielddoc"><p >Select SYS_TIMER1 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a81a6652dbbb538c5fe6bac61c01cc7a8" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a81a6652dbbb538c5fe6bac61c01cc7a8"></a>CLK_DEST_SYS_TRNG&#160;</td><td class="fielddoc"><p >Select SYS_TRNG as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a2e51b16c56acbeb6653950af41e53b76" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a2e51b16c56acbeb6653950af41e53b76"></a>CLK_DEST_PERI_UART0&#160;</td><td class="fielddoc"><p >Select PERI_UART0 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a2251766749e744153aaf4d346106b69c" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a2251766749e744153aaf4d346106b69c"></a>CLK_DEST_SYS_UART0&#160;</td><td class="fielddoc"><p >Select SYS_UART0 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a67d5461d0b587344012b3e6115a97268" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a67d5461d0b587344012b3e6115a97268"></a>CLK_DEST_PERI_UART1&#160;</td><td class="fielddoc"><p >Select PERI_UART1 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5aaad38671055261992e9f624b24a708f7" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5aaad38671055261992e9f624b24a708f7"></a>CLK_DEST_SYS_UART1&#160;</td><td class="fielddoc"><p >Select SYS_UART1 as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a2a29b91d850c1b0b6dd1610d8b2f361a" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a2a29b91d850c1b0b6dd1610d8b2f361a"></a>CLK_DEST_SYS_USBCTRL&#160;</td><td class="fielddoc"><p >Select SYS_USBCTRL as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5ac1d7d20e0075d82b36b5796b38bc66ce" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5ac1d7d20e0075d82b36b5796b38bc66ce"></a>CLK_DEST_USB&#160;</td><td class="fielddoc"><p >Select USB as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a6924053ca1ffe2b13ae349b720d61444" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a6924053ca1ffe2b13ae349b720d61444"></a>CLK_DEST_SYS_WATCHDOG&#160;</td><td class="fielddoc"><p >Select SYS_WATCHDOG as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5a55ccc9b0512b87373e0ebed3bc0a3675" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5a55ccc9b0512b87373e0ebed3bc0a3675"></a>CLK_DEST_SYS_XIP&#160;</td><td class="fielddoc"><p >Select SYS_XIP as clock destination. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1c6adf915fb4a4c82e5e702ebc38b5d5afc877f622f554735e90baea698edaf8a" name="gga1c6adf915fb4a4c82e5e702ebc38b5d5afc877f622f554735e90baea698edaf8a"></a>CLK_DEST_SYS_XOSC&#160;</td><td class="fielddoc"><p >Select SYS_XOSC as clock destination. </p>
</td></tr>
</table>

</div>
</div>
<a id="gacf8c8ac7970cacdec6c5f62a62926644" name="gacf8c8ac7970cacdec6c5f62a62926644"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacf8c8ac7970cacdec6c5f62a62926644">&#9670;&nbsp;</a></span>clock_num_rp2040</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__hardware__clocks.html#gacf8c8ac7970cacdec6c5f62a62926644">clock_num_rp2040</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clock numbers on RP2040 (used as typedef <a class="el" href="group__hardware__clocks.html#ga824c11c2ae315e0b745f6dd3db936788">clock_num_t</a>) </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggacf8c8ac7970cacdec6c5f62a62926644a8c35a604478e413afed2b3c558df5c64" name="ggacf8c8ac7970cacdec6c5f62a62926644a8c35a604478e413afed2b3c558df5c64"></a>clk_gpout0&#160;</td><td class="fielddoc"><p >Select CLK_GPOUT0 as clock source. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggacf8c8ac7970cacdec6c5f62a62926644aa1515365ea7f6fc7815d71ac584fcc65" name="ggacf8c8ac7970cacdec6c5f62a62926644aa1515365ea7f6fc7815d71ac584fcc65"></a>clk_gpout1&#160;</td><td class="fielddoc"><p >Select CLK_GPOUT1 as clock source. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggacf8c8ac7970cacdec6c5f62a62926644a913a8ae975120951e7d5c5c3df66f20f" name="ggacf8c8ac7970cacdec6c5f62a62926644a913a8ae975120951e7d5c5c3df66f20f"></a>clk_gpout2&#160;</td><td class="fielddoc"><p >Select CLK_GPOUT2 as clock source. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggacf8c8ac7970cacdec6c5f62a62926644ad95941e57d81620130a1b108e0f57b51" name="ggacf8c8ac7970cacdec6c5f62a62926644ad95941e57d81620130a1b108e0f57b51"></a>clk_gpout3&#160;</td><td class="fielddoc"><p >Select CLK_GPOUT3 as clock source. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggacf8c8ac7970cacdec6c5f62a62926644abba6c078e66ad1a30d5b2b15b62093c4" name="ggacf8c8ac7970cacdec6c5f62a62926644abba6c078e66ad1a30d5b2b15b62093c4"></a>clk_ref&#160;</td><td class="fielddoc"><p >Select CLK_REF as clock source. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggacf8c8ac7970cacdec6c5f62a62926644ac1ad7b83e348265a82c8d234489d62ab" name="ggacf8c8ac7970cacdec6c5f62a62926644ac1ad7b83e348265a82c8d234489d62ab"></a>clk_sys&#160;</td><td class="fielddoc"><p >Select CLK_SYS as clock source. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggacf8c8ac7970cacdec6c5f62a62926644a917c020907b42e257410e885822f6c71" name="ggacf8c8ac7970cacdec6c5f62a62926644a917c020907b42e257410e885822f6c71"></a>clk_peri&#160;</td><td class="fielddoc"><p >Select CLK_PERI as clock source. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggacf8c8ac7970cacdec6c5f62a62926644acfa6bf0bcaef61805201373db18ed115" name="ggacf8c8ac7970cacdec6c5f62a62926644acfa6bf0bcaef61805201373db18ed115"></a>clk_usb&#160;</td><td class="fielddoc"><p >Select CLK_USB as clock source. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggacf8c8ac7970cacdec6c5f62a62926644afb4bd0bf16d8916c4cb56fa77b4f0b0d" name="ggacf8c8ac7970cacdec6c5f62a62926644afb4bd0bf16d8916c4cb56fa77b4f0b0d"></a>clk_adc&#160;</td><td class="fielddoc"><p >Select CLK_ADC as clock source. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggacf8c8ac7970cacdec6c5f62a62926644a7af7fc21d0d48fc06d9476ebb7236e16" name="ggacf8c8ac7970cacdec6c5f62a62926644a7af7fc21d0d48fc06d9476ebb7236e16"></a>clk_rtc&#160;</td><td class="fielddoc"><p >Select CLK_RTC as clock source. </p>
</td></tr>
</table>

</div>
</div>
<a id="gae174e8b50eace53b7752265d166ffce6" name="gae174e8b50eace53b7752265d166ffce6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae174e8b50eace53b7752265d166ffce6">&#9670;&nbsp;</a></span>clock_num_rp2350</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__hardware__clocks.html#gae174e8b50eace53b7752265d166ffce6">clock_num_rp2350</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clock numbers on RP2350 (used as typedef <a class="el" href="group__hardware__clocks.html#ga824c11c2ae315e0b745f6dd3db936788">clock_num_t</a>) </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggae174e8b50eace53b7752265d166ffce6a8c35a604478e413afed2b3c558df5c64" name="ggae174e8b50eace53b7752265d166ffce6a8c35a604478e413afed2b3c558df5c64"></a>clk_gpout0&#160;</td><td class="fielddoc"><p >Select CLK_GPOUT0 as clock source. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggae174e8b50eace53b7752265d166ffce6aa1515365ea7f6fc7815d71ac584fcc65" name="ggae174e8b50eace53b7752265d166ffce6aa1515365ea7f6fc7815d71ac584fcc65"></a>clk_gpout1&#160;</td><td class="fielddoc"><p >Select CLK_GPOUT1 as clock source. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggae174e8b50eace53b7752265d166ffce6a913a8ae975120951e7d5c5c3df66f20f" name="ggae174e8b50eace53b7752265d166ffce6a913a8ae975120951e7d5c5c3df66f20f"></a>clk_gpout2&#160;</td><td class="fielddoc"><p >Select CLK_GPOUT2 as clock source. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggae174e8b50eace53b7752265d166ffce6ad95941e57d81620130a1b108e0f57b51" name="ggae174e8b50eace53b7752265d166ffce6ad95941e57d81620130a1b108e0f57b51"></a>clk_gpout3&#160;</td><td class="fielddoc"><p >Select CLK_GPOUT3 as clock source. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggae174e8b50eace53b7752265d166ffce6abba6c078e66ad1a30d5b2b15b62093c4" name="ggae174e8b50eace53b7752265d166ffce6abba6c078e66ad1a30d5b2b15b62093c4"></a>clk_ref&#160;</td><td class="fielddoc"><p >Select CLK_REF as clock source. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggae174e8b50eace53b7752265d166ffce6ac1ad7b83e348265a82c8d234489d62ab" name="ggae174e8b50eace53b7752265d166ffce6ac1ad7b83e348265a82c8d234489d62ab"></a>clk_sys&#160;</td><td class="fielddoc"><p >Select CLK_SYS as clock source. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggae174e8b50eace53b7752265d166ffce6a917c020907b42e257410e885822f6c71" name="ggae174e8b50eace53b7752265d166ffce6a917c020907b42e257410e885822f6c71"></a>clk_peri&#160;</td><td class="fielddoc"><p >Select CLK_PERI as clock source. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggae174e8b50eace53b7752265d166ffce6a6e7b08899a2da06fa900bf195e7193c5" name="ggae174e8b50eace53b7752265d166ffce6a6e7b08899a2da06fa900bf195e7193c5"></a>clk_hstx&#160;</td><td class="fielddoc"><p >Select CLK_HSTX as clock source. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggae174e8b50eace53b7752265d166ffce6acfa6bf0bcaef61805201373db18ed115" name="ggae174e8b50eace53b7752265d166ffce6acfa6bf0bcaef61805201373db18ed115"></a>clk_usb&#160;</td><td class="fielddoc"><p >Select CLK_USB as clock source. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggae174e8b50eace53b7752265d166ffce6afb4bd0bf16d8916c4cb56fa77b4f0b0d" name="ggae174e8b50eace53b7752265d166ffce6afb4bd0bf16d8916c4cb56fa77b4f0b0d"></a>clk_adc&#160;</td><td class="fielddoc"><p >Select CLK_ADC as clock source. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga4da87f338212a24bbebce4dd570b81bb" name="ga4da87f338212a24bbebce4dd570b81bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4da87f338212a24bbebce4dd570b81bb">&#9670;&nbsp;</a></span>clock_configure()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool clock_configure </td>
          <td>(</td>
          <td class="paramtype">clock_handle_t&#160;</td>
          <td class="paramname"><em>clock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>auxsrc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>src_freq</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>freq</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure the specified clock. </p>
<p >See the tables in the description for details on the possible values for clock sources.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">clock</td><td>The clock to configure </td></tr>
    <tr><td class="paramname">src</td><td>The main clock source, can be 0. </td></tr>
    <tr><td class="paramname">auxsrc</td><td>The auxiliary clock source, which depends on which clock is being set. Can be 0 </td></tr>
    <tr><td class="paramname">src_freq</td><td>Frequency of the input clock source </td></tr>
    <tr><td class="paramname">freq</td><td>Requested frequency </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gae15228c0d8298d19d883a453334a4d40" name="gae15228c0d8298d19d883a453334a4d40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae15228c0d8298d19d883a453334a4d40">&#9670;&nbsp;</a></span>clock_configure_gpin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool clock_configure_gpin </td>
          <td>(</td>
          <td class="paramtype">clock_handle_t&#160;</td>
          <td class="paramname"><em>clock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>gpio</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>src_freq</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>freq</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure a clock to come from a gpio input. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">clock</td><td>The clock to configure </td></tr>
    <tr><td class="paramname">gpio</td><td>The GPIO pin to run the clock from. Valid GPIOs are: 20 and 22. </td></tr>
    <tr><td class="paramname">src_freq</td><td>Frequency of the input clock source </td></tr>
    <tr><td class="paramname">freq</td><td>Requested frequency </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga097a126a24cec137d4cc6c01a388f8a5" name="ga097a126a24cec137d4cc6c01a388f8a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga097a126a24cec137d4cc6c01a388f8a5">&#9670;&nbsp;</a></span>clock_configure_int_divider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void clock_configure_int_divider </td>
          <td>(</td>
          <td class="paramtype">clock_handle_t&#160;</td>
          <td class="paramname"><em>clock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>auxsrc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>src_freq</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>int_divider</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure the specified clock to use the undividded input source. </p>
<p >See the tables in the description for details on the possible values for clock sources.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">clock</td><td>The clock to configure </td></tr>
    <tr><td class="paramname">src</td><td>The main clock source, can be 0. </td></tr>
    <tr><td class="paramname">auxsrc</td><td>The auxiliary clock source, which depends on which clock is being set. Can be 0 </td></tr>
    <tr><td class="paramname">src_freq</td><td>Frequency of the input clock source </td></tr>
    <tr><td class="paramname">int_divider</td><td>an integer divider </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga6b3cc59b3628108d77b2b1b548ec8053" name="ga6b3cc59b3628108d77b2b1b548ec8053"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6b3cc59b3628108d77b2b1b548ec8053">&#9670;&nbsp;</a></span>clock_configure_undivided()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void clock_configure_undivided </td>
          <td>(</td>
          <td class="paramtype">clock_handle_t&#160;</td>
          <td class="paramname"><em>clock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>auxsrc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>src_freq</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure the specified clock to use the undividded input source. </p>
<p >See the tables in the description for details on the possible values for clock sources.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">clock</td><td>The clock to configure </td></tr>
    <tr><td class="paramname">src</td><td>The main clock source, can be 0. </td></tr>
    <tr><td class="paramname">auxsrc</td><td>The auxiliary clock source, which depends on which clock is being set. Can be 0 </td></tr>
    <tr><td class="paramname">src_freq</td><td>Frequency of the input clock source </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaa2e43d722ca3375f53cb65513275a625" name="gaa2e43d722ca3375f53cb65513275a625"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa2e43d722ca3375f53cb65513275a625">&#9670;&nbsp;</a></span>clock_get_hz()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t clock_get_hz </td>
          <td>(</td>
          <td class="paramtype">clock_handle_t&#160;</td>
          <td class="paramname"><em>clock</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current frequency of the specified clock. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">clock</td><td>Clock </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Clock frequency in Hz </dd></dl>

</div>
</div>
<a id="ga76d69b8d84158f8c2e99ae84b82ca0a1" name="ga76d69b8d84158f8c2e99ae84b82ca0a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga76d69b8d84158f8c2e99ae84b82ca0a1">&#9670;&nbsp;</a></span>clock_gpio_init()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void clock_gpio_init </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>gpio</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>div</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Output an optionally divided clock to the specified gpio pin. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">gpio</td><td>The GPIO pin to output the clock to. Valid GPIOs are: 21, 23, 24, 25. These GPIOs are connected to the GPOUT0-3 clock generators. </td></tr>
    <tr><td class="paramname">src</td><td>The source clock. See the register field CLOCKS_CLK_GPOUT0_CTRL_AUXSRC for a full list. The list is the same for each GPOUT clock generator. </td></tr>
    <tr><td class="paramname">div</td><td>The float amount to divide the source clock by. This is useful to not overwhelm the GPIO pin with a fast clock. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaec0218c0c355e0691b2005b34caecd3c" name="gaec0218c0c355e0691b2005b34caecd3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaec0218c0c355e0691b2005b34caecd3c">&#9670;&nbsp;</a></span>clock_gpio_init_int_frac()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void clock_gpio_init_int_frac </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>gpio</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>div_int</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>div_frac</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Output an optionally divided clock to the specified gpio pin. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">gpio</td><td>The GPIO pin to output the clock to. Valid GPIOs are: 21, 23, 24, 25. These GPIOs are connected to the GPOUT0-3 clock generators. </td></tr>
    <tr><td class="paramname">src</td><td>The source clock. See the register field CLOCKS_CLK_GPOUT0_CTRL_AUXSRC for a full list. The list is the same for each GPOUT clock generator. </td></tr>
    <tr><td class="paramname">div_int</td><td>The integer part of the value to divide the source clock by. This is useful to not overwhelm the GPIO pin with a fast clock. this is in range of 1..2^24-1. </td></tr>
    <tr><td class="paramname">div_frac</td><td>The fractional part of the value to divide the source clock by. This is in range of 0..255 (/256). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga9a8d16dd4e2afa2dbb6fc3d884c2269c" name="ga9a8d16dd4e2afa2dbb6fc3d884c2269c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9a8d16dd4e2afa2dbb6fc3d884c2269c">&#9670;&nbsp;</a></span>clock_set_reported_hz()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void clock_set_reported_hz </td>
          <td>(</td>
          <td class="paramtype">clock_handle_t&#160;</td>
          <td class="paramname"><em>clock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>hz</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the "current frequency" of the clock as reported by clock_get_hz without actually changing the clock. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__hardware__clocks.html#gaa2e43d722ca3375f53cb65513275a625" title="Get the current frequency of the specified clock.">clock_get_hz()</a> </dd></dl>

</div>
</div>
<a id="ga33862124558abcae451a0607df8d19bc" name="ga33862124558abcae451a0607df8d19bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga33862124558abcae451a0607df8d19bc">&#9670;&nbsp;</a></span>clock_stop()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void clock_stop </td>
          <td>(</td>
          <td class="paramtype">clock_handle_t&#160;</td>
          <td class="paramname"><em>clock</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stop the specified clock. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">clock</td><td>The clock to stop </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga614700afaa5ee6767ef2cf662e63f84c" name="ga614700afaa5ee6767ef2cf662e63f84c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga614700afaa5ee6767ef2cf662e63f84c">&#9670;&nbsp;</a></span>clocks_enable_resus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void clocks_enable_resus </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__hardware__clocks.html#ga60fddc9bfe13c979c8e3a777d0d89037">resus_callback_t</a>&#160;</td>
          <td class="paramname"><em>resus_callback</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enable the resus function. Restarts clk_sys if it is accidentally stopped. </p>
<p >The resuscitate function will restart the system clock if it falls below a certain speed (or stops). This could happen if the clock source the system clock is running from stops. For example if a PLL is stopped.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resus_callback</td><td>a function pointer provided by the user to call if a resus event happens. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaeb4a4f07e66523304837a6498276dd53" name="gaeb4a4f07e66523304837a6498276dd53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeb4a4f07e66523304837a6498276dd53">&#9670;&nbsp;</a></span>frequency_count_khz()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t frequency_count_khz </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Measure a clocks frequency using the Frequency counter. </p>
<p >Uses the inbuilt frequency counter to measure the specified clocks frequency. Currently, this function is accurate to +-1KHz. See the datasheet for more details. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->

	<script src="main.js"></script>
</body>
</html>